fix(core): update

This commit is contained in:
Philipp Kunz 2020-06-11 13:23:07 +00:00
parent 5f7e68d5b7
commit 27bb9a789c

View File

@ -4,7 +4,12 @@ import * as plugins from './smartlog.plugins';
* a console log optimized for smartlog
*/
export class ConsoleLog {
public log(logLevelArg: plugins.smartlogInterfaces.TLogLevel, logMessageArg: string) {
public log(
logLevelArg: plugins.smartlogInterfaces.TLogLevel,
logMessageArg: string,
dataArg?: any,
correlationArg?: plugins.smartlogInterfaces.ILogCorrelation
) {
console.log(`__# ${logLevelArg}: ${logMessageArg}`);
}
}