0.0.3 • Published 11 years ago
organic-logger v0.0.3
organel | dna & defaults:
prefixConsoleWithTimestamps -
false
instructs including modified version of clim which will monkey-patch
console
object so that any further usage will include prefixed timestampattachHttpServerErrorMiddleware -
false
instructs start listening for
HttpServer
Chemical containingExpressHttpServer data
instance for attaching middleware responsible to piping any found errors toconsole.error
methodlistenUncaughtExceptions -
false
instructs to do
process.addListener("uncaughtException", ...)
, which will then pipe any errors toconsole.error
method
incoming | HttpServer
does not aggrigates the chemical
- data - ExpressHttpServer instance
incoming | Logger
does simple console.log( chemical
)