in src/lib/util/logging.ts [117:133]
set(logFilePath) {
if (!logFilePath || (logFilePath && typeof logFilePath.valueOf() !== "string")) {
throw new Error("filepath cannot be null or undefined and must be of type string. It must be an absolute file path.")
}
currentLogFile = logFilePath
this.directory = path.dirname(logFilePath)
if (!this.transports.file) {
this.add(
new winston.transports.File({
level: "silly",
silent: false,
filename: logFilePath
})
)
}
return
}