@eagleoutice/flowr - v2.15.8
    Preparing search index...

    Class FlowrLogger

    Hierarchy

    • Logger<ILogObj>
      • FlowrLogger
    Index
    • Parameters

      • Optionalsettings: ISettingsParam<ILogObj>
      • OptionallogObj: ILogObj

      Returns FlowrLogger

    • Returns a child logger based on the current instance with inherited settings

      Parameters

      • Optionalsettings: ISettingsParam<ILogObj>

        Overwrite settings inherited from parent logger

      • OptionallogObj: ILogObj

        Overwrite logObj for sub-logger

      Returns Logger<ILogObj>

    • make the logger log to a file as well

      Rotation needs the optional rotating-file-stream dependency. Without it (the slim runtime images install with --omit=optional) the log is appended to a single file instead.

      Parameters

      • filename: string = 'flowr.log'
      • options: Options = ...

      Returns void

    • Parameters

      • updater: (logger: Logger<ILogObj>) => void

      Returns void