Home Reference Source

Function

Static Public Summary
public

Get name for the log file reads package.json for config.logfile variable

public

logger(filename: string): function

Creates a logger based on winston

Static Public

public getLogFilename(): * source

Get name for the log file reads package.json for config.logfile variable

Return:

*

(string) logFilename - path and file name for the log file

public logger(filename: string): function source

Creates a logger based on winston

Params:

NameTypeAttributeDescription
filename string

log file name

Return:

function

logger - logger function