Search
Preparing search index...
The search index is not available
@essex/pbi-base
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"lib/utils/logger"
External module "lib/utils/logger"
Index
Interfaces
Log
Writer
Logger
Logger
Factory
Variables
debug
log
Writers
logger
Functions
console
Log
Writer
Variables
debug
debug
:
any
= require("debug")
log
Writers
log
Writers
:
LogWriter
[]
= [consoleLogWriter()]
logger
logger
:
LoggerFactory
= <any>((name: string) => {const newLogger = debug(name) as Logger;newLogger.log = function(...args) {logWriters.forEach(function(n) {n.apply(this, args);});};return newLogger;})
Functions
console
Log
Writer
console
Log
Writer
(
)
:
(Anonymous function)
Adds logging to an element
Returns
(Anonymous function)
Globals
"lib/utils/logger"
Log
Writer
Logger
Logger
Factory
debug
log
Writers
logger
console
Log
Writer
Generated using
TypeDoc
Adds logging to an element