UNPKG

@signalk/streams

Version:

Utilities for handling streams of Signal K data

14 lines 602 B
export interface LoggingApp { config: { configPath: string; settings: { loggingDirectory?: string; keepMostRecentLogsOnly?: boolean; logCountToKeep?: number; }; }; } export declare function getLogger(app: LoggingApp, discriminator?: string, logdir?: string): (msg: unknown) => void; export declare function getFullLogDir(app: LoggingApp, logdir?: string): string; export declare function listLogFiles(app: LoggingApp, cb: (err: NodeJS.ErrnoException | undefined, files?: string[]) => void): void; //# sourceMappingURL=logging.d.ts.map