Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILoggerProps

Hierarchy

  • ILoggerProps

Index

Properties

Optional hideConsole

hideConsole: undefined | false | true

Optional level

level: undefined | string

Optional levelColor

levelColor: undefined | {}

Optional logTime

logTime: boolean | (() => string)

Methods

Optional format

  • format(level: string, time: string, color: (v: string) => string, args: any[]): string
  • Parameters

    • level: string
    • time: string
    • color: (v: string) => string
        • (v: string): string
        • Parameters

          • v: string

          Returns string

    • args: any[]

    Returns string

Optional onLog

Generated using TypeDoc