Jelajahi Sumber

docs(telemetry-plugin): Fix option name in docs

Michael Bromley 1 bulan lalu
induk
melakukan
fc3cea8675

+ 1 - 1
docs/docs/reference/core-plugins/telemetry-plugin/index.md

@@ -44,7 +44,7 @@ export const config: VendureConfig = {
     TelemetryPlugin.init({
       loggerOptions: {
         // Log to the console at the verbose level
-        console: LogLevel.Verbose,
+        logToConsole: LogLevel.Verbose,
       },
     }),
   ],

+ 1 - 1
packages/telemetry-plugin/src/telemetry.plugin.ts

@@ -40,7 +40,7 @@ import { TelemetryPluginOptions } from './types';
  *     TelemetryPlugin.init({
  *       loggerOptions: {
  *         // Log to the console at the verbose level
- *         console: LogLevel.Verbose,
+ *         logToConsole: LogLevel.Verbose,
  *       },
  *     }),
  *   ],