occaecatidicta
Version:
12 lines (10 loc) • 317 B
text/typescript
import * as logger from 'omelox-logger';
import { Application } from '../application';
/**
* Configure omelox logger
*/
export function configure(app: Application, filename: string) {
let serverId = app.getServerId();
let base = app.getBase();
logger.configure(filename, {serverId: serverId, base: base});
}