Initial Commit
This commit is contained in:
13
test/logger/Threshold.ts
Normal file
13
test/logger/Threshold.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import {LoggingLevel, LoggingLevelMapping, type LoggingLevelType} from './LoggingLevel';
|
||||
|
||||
export class Threshold {
|
||||
private readonly _level: {value: LoggingLevel};
|
||||
|
||||
constructor({level}: {level: LoggingLevel}) {
|
||||
this._level = {value: level};
|
||||
}
|
||||
|
||||
get value(): LoggingLevel {
|
||||
return this._level.value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user