mcopy/app/lib/log/Readme.md

994 B

Functions

logFile()string

Determine the location of the log file based on the operating system and return as an absolute string from os.homedir()

Log(arg)object

Create and return the logger transport based on settings determined in arguments object

logFile() ⇒ string

Determine the location of the log file based on the operating system and return as an absolute string from os.homedir()

Kind: global function
Returns: string - Path to log file

Log(arg) ⇒ object

Create and return the logger transport based on settings determined in arguments object

Kind: global function
Returns: object - Logger transport

Param Type Description
arg object Arguments from process