@contract-case/case-plugin-base
Version:
Plugin framework for writing plugins for the ContractCase test framework
15 lines • 526 B
TypeScript
import { LogLevelContext } from '../context/types';
import type { LogLevel } from './types';
/**
* Tests whether a given log level should log at this point in the execution
*
* DO NOT CALL THIS METHOD IN A PLUGIN
*
* @internal
*
* @param context - the current execution context
* @param logLevel - the log level to test
* @returns true if `logLevel` should be logged during this run
*/
export declare const shouldLog: (context: LogLevelContext, logLevel: LogLevel) => boolean;
//# sourceMappingURL=shouldLog.d.ts.map