UNPKG

@maxgraph/core

Version:

maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

22 lines (21 loc) 742 B
import { Logger } from '../types.js'; /** * A {@link Logger} that uses {@link MaxLog} to log messages. * * Notice that the log level for this logger are configured in {@link MaxLog}. * * @experimental subject to change or removal. The logging system may be modified in the future without prior notice. * @since 0.11.0 * @category GUI * @category Logging */ export declare class MaxLogAsLogger implements Logger { enter(message: string): number | undefined; leave(message: string, baseTimestamp?: number): void; show(): void; info(message: string): void; debug(message: string): void; error(message: string, ...optionalParams: any[]): void; trace(message: string): void; warn(message: string): void; }