# Function configureDefaultLogger

- configureDefaultLogger(
  logLevel?:
  | "error"
  | "trace"
  | "fatal"
  | "warn"
  | "info"
  | "debug"
  | "silent",
  ): Promise<void>

  Configure the default logger with optional log level.

  #### Parameters

  - `Optional` logLevel: "error" | "trace" | "fatal" | "warn" | "info" | "debug" | "silent"

  #### Returns Promise<void>

  - Defined in rivetkit-typescript/packages/rivetkit/src/common/log.ts:115