Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 8x 4x 14x 5x 1x 1x | import {Logger} from "@stoqey/ib"; import {IBApiApp} from "../app"; /** * Proxy to froward IBApiNext logs to into the context. */ export class IBApiLoggerProxy implements Logger { constructor(private readonly app: IBApiApp) {} debug(tag: string, args: string | unknown[]): void { this.app.debug(`[${tag}] ${args}`); } info(tag: string, args: string | unknown[]): void { this.app.info(`[${tag}] ${args}`); } warn(tag: string, args: string | unknown[]): void { this.app.warn(`[${tag}] ${args}`); } error(tag: string, args: string | unknown[]): void { this.app.error(`[${tag}] ${args}`); } } |