Adding option to disable default Logging
This commit is contained in:
@ -283,7 +283,11 @@ export class LoggingBase {
|
||||
return { size: 0, stream: undefined };
|
||||
}
|
||||
}
|
||||
export const Logging = new LoggingBase();
|
||||
|
||||
export let Logging = undefined;
|
||||
if (process.env.LOGGING_NO_DEFAULT !== "true") {
|
||||
Logging = new LoggingBase();
|
||||
}
|
||||
export default Logging;
|
||||
|
||||
function fsUnlink(path) {
|
||||
|
Reference in New Issue
Block a user