fix(.enableConsole()): now works
This commit is contained in:
parent
0ee2b8295a
commit
485e04c0b3
@ -33,7 +33,11 @@ export class Smartlog {
|
||||
* @param logLevelArg
|
||||
* @param logMessageArg
|
||||
*/
|
||||
log(logLevelArg: TLogLevel, logMessageArg: string) {}
|
||||
log(logLevelArg: TLogLevel, logMessageArg: string) {
|
||||
if (this.consoleEnabled) {
|
||||
console.log(`${logLevelArg}: ${logMessageArg}`)
|
||||
}
|
||||
}
|
||||
|
||||
silly(logMessageArg: string) {
|
||||
this.log('silly', logMessageArg);
|
||||
|
Loading…
Reference in New Issue
Block a user