logger: {
    debug: logFn;
    error: logFn;
    extend?: ((name: string) => logger);
    info: logFn;
    warn: logFn;
}