@livy/util
Version:
Common utilities for the Livy logger
18 lines (17 loc) • 451 B
TypeScript
import { LogLevel } from '@livy/contracts/lib/log-level';
import { Mixin } from '../mixin';
/**
* Implements a level-respecting `isHandling` method
*/
export declare const RespectLevelMixin: Mixin.Wrapper<{
new (...args: any[]): {
/**
* The minimum activation level for this handler
*/
level: LogLevel;
/**
* @inheritdoc
*/
isHandling(level: LogLevel): boolean;
};
}, []>;