Skip to content

barchart/log4js-node-appenders

Repository files navigation

@barchart/log4js-node-appenders

AWS CodeBuild

Assorted appenders for use with the log4js library.

Console Appender (for AWS Lambda)

A console appender that routes output to the correct function of the console object. This appender is useful for logging within an AWS Lambda function (avoids writing all logs at the INFO level).

  • TRACE -> console.trace
  • DEBUG -> console.debug
  • INFO -> console.log
  • WARN -> console.warn
  • ERROR -> console.error
  • FATAL -> console.error

Usage Example

License

This software is provided under the MIT license.

About

Additional appenders for log4js-node library

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •