Function
Static Public Summary | ||
public |
getLogFilename(): * Get name for the log file reads package.json for config.logfile variable |
|
public |
Creates a logger based on winston |
Static Public
public getLogFilename(): * source
import {getLogFilename} from 'create-graphql-server-logging/src/lib/getLogFilename.js'
Get name for the log file reads package.json for config.logfile variable
Return:
* | (string) logFilename - path and file name for the log file |