Logger

clout-js/lib/Logger~ Logger

Clout Logger (Extends winston)

Constructor

new Logger(clout)

Source:
Parameters:
Name Type Description
clout object clout-js instance

Extends

  • winston.Logger

Methods

appendToMiddleware()

Appends logger to middleware
Source:

logToConsole()

Enables logging to console
Source:

logToDir()

Enables logging to application directory
Source:

saveConfiguration(level)

Save configuration and update log level
Source:
Parameters:
Name Type Description
level String log level