Skip to content

add option to provide custom logger#19

Open
khitrenovich wants to merge 1 commit intovoid666:masterfrom
khitrenovich:custom-logger-option
Open

add option to provide custom logger#19
khitrenovich wants to merge 1 commit intovoid666:masterfrom
khitrenovich:custom-logger-option

Conversation

@khitrenovich
Copy link
Copy Markdown

Sample usage - route logs to exising log4js logger instead of winston, remap info to warning and silence debug messages, etc.

      logger: {
        info: _.bind(logger.warn, logger),
        debug: _.noop
      }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant