@stryker-mutator/core
Version:
The extendable JavaScript mutation testing framework
13 lines • 463 B
JavaScript
export const logLevelPriority = Object.freeze({
["trace" /* LogLevel.Trace */]: 0,
["debug" /* LogLevel.Debug */]: 1,
["info" /* LogLevel.Information */]: 2,
["warn" /* LogLevel.Warning */]: 3,
["error" /* LogLevel.Error */]: 4,
["fatal" /* LogLevel.Fatal */]: 5,
["off" /* LogLevel.Off */]: 6,
});
export function minPriority(a, b) {
return logLevelPriority[a] < logLevelPriority[b] ? a : b;
}
//# sourceMappingURL=priority.js.map