node-test-bed-adapter
Version:
An adapter to connect a node.js application to the Test-bed's Common Information Space or Common Simulation Space.
10 lines (9 loc) • 312 B
text/typescript
import { ICanLog, LogLevel } from './index.mjs';
/**
* A simple file logger that appends the text to a log file.
*/
export declare class FileLogger implements ICanLog {
private file;
constructor(file: string);
log(_level: LogLevel, msg: string, callback?: (err: any, result: any) => void): void;
}