diff --git a/functions/childLogger.html b/functions/childLogger.html index 9354274..86e9cf7 100644 --- a/functions/childLogger.html +++ b/functions/childLogger.html @@ -1 +1 @@ -childLogger | @foxxmd/logging Docs
  • Parameters

    • parent: Logger
    • labelsVal: any = []
    • context: object = {}
    • options: {} = {}

      Returns Logger

    Generated using TypeDoc

    \ No newline at end of file +childLogger | @foxxmd/logging Docs
    • Parameters

      • parent: Logger
      • labelsVal: any = []
      • context: object = {}
      • options: {} = {}

        Returns Logger

      Generated using TypeDoc

      \ No newline at end of file diff --git a/functions/isLogOptions.html b/functions/isLogOptions.html index bb1fb68..13d3d15 100644 --- a/functions/isLogOptions.html +++ b/functions/isLogOptions.html @@ -1 +1 @@ -isLogOptions | @foxxmd/logging Docs

      Generated using TypeDoc

      \ No newline at end of file +isLogOptions | @foxxmd/logging Docs

      Generated using TypeDoc

      \ No newline at end of file diff --git a/functions/loggerApp.html b/functions/loggerApp.html index 6d7be50..58e4275 100644 --- a/functions/loggerApp.html +++ b/functions/loggerApp.html @@ -1 +1 @@ -loggerApp | @foxxmd/logging Docs

      Generated using TypeDoc

      \ No newline at end of file +loggerApp | @foxxmd/logging Docs

      Generated using TypeDoc

      \ No newline at end of file diff --git a/functions/loggerAppRolling.html b/functions/loggerAppRolling.html index 35d1135..700cdb0 100644 --- a/functions/loggerAppRolling.html +++ b/functions/loggerAppRolling.html @@ -1 +1 @@ -loggerAppRolling | @foxxmd/logging Docs

      Function loggerAppRolling

      Generated using TypeDoc

      \ No newline at end of file +loggerAppRolling | @foxxmd/logging Docs

      Function loggerAppRolling

      Generated using TypeDoc

      \ No newline at end of file diff --git a/functions/parseLogOptions.html b/functions/parseLogOptions.html index 74a5010..d041fca 100644 --- a/functions/parseLogOptions.html +++ b/functions/parseLogOptions.html @@ -1 +1 @@ -parseLogOptions | @foxxmd/logging Docs

      Function parseLogOptions

      Generated using TypeDoc

      \ No newline at end of file +parseLogOptions | @foxxmd/logging Docs

      Function parseLogOptions

      Generated using TypeDoc

      \ No newline at end of file diff --git a/interfaces/LogOptions.html b/interfaces/LogOptions.html index 30b1702..06333ff 100644 --- a/interfaces/LogOptions.html +++ b/interfaces/LogOptions.html @@ -1,10 +1,10 @@ -LogOptions | @foxxmd/logging Docs

      Interface LogOptions

      interface LogOptions {
          level?: "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug";
          file?: false | "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug";
          console?: "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug";
      }

      Properties

      level? +LogOptions | @foxxmd/logging Docs

      Interface LogOptions

      interface LogOptions {
          level?: "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug";
          file?: false | "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug";
          console?: "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug";
      }

      Properties

      Properties

      level?: "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug"

      Specify the minimum log level for all log outputs without their own level specified.

      Defaults to env LOG_LEVEL or info if not specified.

      Default

      'info'
       
      -
      file?: false | "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug"

      Specify the minimum log level to output to rotating files. If false no log files will be created.

      -
      console?: "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug"

      Specify the minimum log level streamed to the console (or docker container)

      -

      Generated using TypeDoc

      \ No newline at end of file +
      file?: false | "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug"

      Specify the minimum log level to output to rotating files. If false no log files will be created.

      +
      console?: "silent" | "fatal" | "error" | "warn" | "info" | "log" | "verbose" | "debug"

      Specify the minimum log level streamed to the console (or docker container)

      +

      Generated using TypeDoc

      \ No newline at end of file diff --git a/types/LogData.html b/types/LogData.html index c59b950..da98063 100644 --- a/types/LogData.html +++ b/types/LogData.html @@ -1 +1 @@ -LogData | @foxxmd/logging Docs

      Type alias LogData

      LogData: Record<string, any> & {
          level: number;
          time: number;
          pid: number;
          hostname: string;
          labels: any[];
          msg: string | Error | ErrorWithCause;
      }

      Type declaration

      • level: number
      • time: number
      • pid: number
      • hostname: string
      • labels: any[]
      • msg: string | Error | ErrorWithCause

      Generated using TypeDoc

      \ No newline at end of file +LogData | @foxxmd/logging Docs

      Type alias LogData

      LogData: Record<string, any> & {
          level: number;
          time: number;
          pid: number;
          hostname: string;
          labels: any[];
          msg: string | Error | ErrorWithCause;
      }

      Type declaration

      • level: number
      • time: number
      • pid: number
      • hostname: string
      • labels: any[]
      • msg: string | Error | ErrorWithCause

      Generated using TypeDoc

      \ No newline at end of file diff --git a/types/LogLevel.html b/types/LogLevel.html index b7b0537..f36ca2c 100644 --- a/types/LogLevel.html +++ b/types/LogLevel.html @@ -1 +1 @@ -LogLevel | @foxxmd/logging Docs

      Type alias LogLevel

      LogLevel: typeof LOG_LEVELS[number]

      Generated using TypeDoc

      \ No newline at end of file +LogLevel | @foxxmd/logging Docs

      Type alias LogLevel

      LogLevel: typeof LOG_LEVELS[number]

      Generated using TypeDoc

      \ No newline at end of file diff --git a/types/LogLevelStreamEntry.html b/types/LogLevelStreamEntry.html index befd707..732f490 100644 --- a/types/LogLevelStreamEntry.html +++ b/types/LogLevelStreamEntry.html @@ -1 +1 @@ -LogLevelStreamEntry | @foxxmd/logging Docs

      Type alias LogLevelStreamEntry

      LogLevelStreamEntry: StreamEntry<LogLevel>

      Generated using TypeDoc

      \ No newline at end of file +LogLevelStreamEntry | @foxxmd/logging Docs

      Type alias LogLevelStreamEntry

      LogLevelStreamEntry: StreamEntry<LogLevel>

      Generated using TypeDoc

      \ No newline at end of file diff --git a/types/Logger.html b/types/Logger.html index c750026..d76d1f7 100644 --- a/types/Logger.html +++ b/types/Logger.html @@ -1 +1 @@ -Logger | @foxxmd/logging Docs
      Logger: PinoLogger<LogLevel> & {
          labels: any[];
          addLabel: ((value) => void);
      }

      Type declaration

      • labels: any[]
      • addLabel: ((value) => void)
          • (value): void
          • Parameters

            • value: any

            Returns void

      Generated using TypeDoc

      \ No newline at end of file +Logger | @foxxmd/logging Docs
      Logger: PinoLogger<LogLevel> & {
          labels: any[];
          addLabel: ((value) => void);
      }

      Type declaration

      • labels: any[]
      • addLabel: ((value) => void)
          • (value): void
          • Parameters

            • value: any

            Returns void

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/LOG_LEVELS.html b/variables/LOG_LEVELS.html index 5fe3168..56924d8 100644 --- a/variables/LOG_LEVELS.html +++ b/variables/LOG_LEVELS.html @@ -1 +1 @@ -LOG_LEVELS | @foxxmd/logging Docs

      Variable LOG_LEVELSConst

      LOG_LEVELS: readonly ["silent", "fatal", "error", "warn", "info", "log", "verbose", "debug"] = ...

      Generated using TypeDoc

      \ No newline at end of file +LOG_LEVELS | @foxxmd/logging Docs

      Variable LOG_LEVELSConst

      LOG_LEVELS: readonly ["silent", "fatal", "error", "warn", "info", "log", "verbose", "debug"] = ...

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/loggerDebug.html b/variables/loggerDebug.html index b040475..32c088c 100644 --- a/variables/loggerDebug.html +++ b/variables/loggerDebug.html @@ -1 +1 @@ -loggerDebug | @foxxmd/logging Docs

      Variable loggerDebugConst

      loggerDebug: Logger = ...

      Generated using TypeDoc

      \ No newline at end of file +loggerDebug | @foxxmd/logging Docs

      Variable loggerDebugConst

      loggerDebug: Logger = ...

      Generated using TypeDoc

      \ No newline at end of file diff --git a/variables/loggerTest.html b/variables/loggerTest.html index cbe815b..848f9eb 100644 --- a/variables/loggerTest.html +++ b/variables/loggerTest.html @@ -1 +1 @@ -loggerTest | @foxxmd/logging Docs

      Variable loggerTestConst

      loggerTest: Logger = ...

      Generated using TypeDoc

      \ No newline at end of file +loggerTest | @foxxmd/logging Docs

      Variable loggerTestConst

      loggerTest: Logger = ...

      Generated using TypeDoc

      \ No newline at end of file