Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/utils/logger"

Index

Variables

debug

debug: any = require("debug")

logWriters

logWriters: 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

consoleLogWriter

  • consoleLogWriter(): (Anonymous function)

Generated using TypeDoc