/// /// import { LevelConsole } from './LevelConsole'; export declare var systemStream: Highland.Stream; export declare var systemConsole: LevelConsole; export interface LogOptions { globalObject: any; processId: string; console?: Console; retryDelay?: number; retryAttempts?: number; batchPeriod?: number; batchCount?: number; } export declare function createLoggers(options: LogOptions): { [key: string]: LevelConsole; }; /** * Set the context for the current request. */ export declare function setLogContext(context: any): void; /** * Flush logs at the end of a request. * * Without this, there could be up to a second delay before the logs are posted. */ export declare function flush(): void;