mcopy/app/lib/log
Matt McWilliams b21b899303 Re-enabled tests. Re-enabled docs build (jsdocs are very out of date). Removed several any types and created types for Config 2024-05-23 23:36:51 -04:00
..
Readme.md Re-enabled tests. Re-enabled docs build (jsdocs are very out of date). Removed several any types and created types for Config 2024-05-23 23:36:51 -04:00
index.d.ts Re-write of log module to use export properly (in Typescript) and include the winston types for Logger. Will repeat this step with all of the remaining modules that are declared 'any' type and miss out on the benefits of using Typescript in the first place. 2024-05-19 18:14:33 -04:00
index.js Re-write of log module to use export properly (in Typescript) and include the winston types for Logger. Will repeat this step with all of the remaining modules that are declared 'any' type and miss out on the benefits of using Typescript in the first place. 2024-05-19 18:14:33 -04:00
index.js.map Re-write of log module to use export properly (in Typescript) and include the winston types for Logger. Will repeat this step with all of the remaining modules that are declared 'any' type and miss out on the benefits of using Typescript in the first place. 2024-05-19 18:14:33 -04:00
package.json Copy build libraries to cli app 2019-03-08 22:31:29 -05:00

Readme.md

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