install-nix-action/node_modules/bs-logger/dist/logger/target.d.ts

12 lines
400 B
TypeScript
Raw Permalink Normal View History

2019-11-14 03:14:48 +11:00
/// <reference types="node" />
import { Writable } from 'stream';
import { LogMessageFormatter } from './message';
interface LogTarget {
stream: Writable;
minLevel: number;
format: LogMessageFormatter;
}
declare const parseLogTargets: (targetString?: string | undefined) => LogTarget[];
declare const DEFAULT_LOG_TARGET: string;
export { LogTarget, DEFAULT_LOG_TARGET, parseLogTargets };