mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
Add debug logging capability to Logger class
This commit is contained in:
parent
03e1545ebd
commit
2cbabe7a67
@ -36,6 +36,13 @@ export default class logger {
|
||||
});
|
||||
}
|
||||
|
||||
public static debug(message: LogBody): void {
|
||||
this.emit({
|
||||
body: message,
|
||||
severityNumber: SeverityNumber.DEBUG,
|
||||
});
|
||||
}
|
||||
|
||||
public static emit(data: {
|
||||
body: LogBody;
|
||||
severityNumber: SeverityNumber;
|
||||
|
Loading…
Reference in New Issue
Block a user