Appends messages to a file in JSON format. The messages are logged to an array in a JSON file The file is always overwritten

Example
  1. //example log.json
  2. [
  3. {
  4. "timestamp" : "Wed Jun 08 2011 11:16:20 GMT-0500 (CDT)",
  5. "level" : "INFO",
  6. "name" : "comb",
  7. "message" : "INFO MESSAGE!!!!"
  8. }
  9. ]
Extends

Constructor

Defined logging/appenders/jsonAppender.js

License

MIT https://github.com/C2FO/comb/raw/master/LICENSE

Meta