Logs content from app services to files and/or console

Hierarchy

Constructors

Properties

logLevel: LogLevel
logToConsole: boolean
logToFiles: boolean
service: string

Methods

  • Writes the log message to the file stream and/or the console based on the config.

    Parameters

    • message: string

      Content to log

    Returns void