UNPKG

monolog

Version:

Log with Monolog

12 lines (10 loc) 276 B
"use strict" #Base class for formatter class AbstractFormatter # Formats a log record. format:(record)-> throw "not implemented" # Formats a set of log records. formatBatch:(records)-> records.map((r)=>@format(r)).join() module.exports = AbstractFormatter