Use LogLevel as type instead of number
This commit is contained in:
parent
e3c85c585e
commit
ab126729e0
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ export abstract class BaseLogger {
|
|||
return this._run(item, callback, logLevel!, filterCreator, true);
|
||||
}
|
||||
|
||||
_run(item: LogItem, callback: LogCallback, logLevel: number, filterCreator: FilterCreator, shouldThrow: boolean) {
|
||||
_run(item: LogItem, callback: LogCallback, logLevel: LogLevel, filterCreator: FilterCreator, shouldThrow: boolean) {
|
||||
this._openItems.add(item);
|
||||
|
||||
const finishItem = () => {
|
||||
|
|
Reference in a new issue