@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
17 lines • 1.27 kB
TypeScript
export { LogLevel, LogEntry, LoggerConfig, Logger as ILogger } from './types';
export { Logger, New, NewWithConfig } from './logger';
export { HTTPErrorLogger, NewHTTPErrorLogger } from './http';
export { LoggerManager, initLogger, getDomainLogger, getComponentLogger, setGlobalLogLevel, setGlobalCallerEnabled, setGlobalJsonFormat, globalLoggerManager } from './manager';
export declare const defaultLogger: import("./logger").Logger;
export declare const debug: (message: string, ...args: any[]) => void;
export declare const info: (message: string, ...args: any[]) => void;
export declare const warn: (message: string, ...args: any[]) => void;
export declare const error: (message: string, ...args: any[]) => void;
export declare const fatal: (message: string, ...args: any[]) => void;
export declare const debugf: (template: string, ...args: any[]) => void;
export declare const infof: (template: string, ...args: any[]) => void;
export declare const warnf: (template: string, ...args: any[]) => void;
export declare const errorf: (template: string, ...args: any[]) => void;
export declare const fatalf: (template: string, ...args: any[]) => void;
export declare const with_: (fields: Record<string, any>) => import("./logger").Logger;
//# sourceMappingURL=index.d.ts.map