Hierarchy

  • Logger<ILogObj>
    • FlowrLogger

Hierarchy-Diagram

UML class diagram of FlowrLogger

Constructors

  • Parameters

    • Optionalsettings: ISettingsParam<ILogObj>
    • OptionallogObj: ILogObj

    Returns FlowrLogger

Methods

  • 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

    Parameters

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

    Returns void

  • Parameters

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

          • logger: Logger<ILogObj>

          Returns void

    Returns void