import { LoggerServiceOptions } from './LoggerServiceOptions'; import { Logger } from './Logger'; import { LoggerLevel } from './LoggerLevel'; import { LogContext } from './LogContext'; import { LoggerOptions } from './LoggerOptions'; export interface IloggerService { getLogger(instance: any, options?: any): Logger; level(level?: LoggerLevel): LoggerGenericService | LoggerLevel; global(): LoggerGenericService; store(): LoggerGenericService; unstore(): LoggerGenericService; } /** * Manage console logging with {@link Logger} loggers. * It has a global logging level and some options ({@link LoggerServiceOptions}). * If no options are passed, it uses {@link LoggerServiceDefaultOptions}. * Each loggers has it own logging level ({@link LoggerOptions} or {@link LoggerSharedOptions}). * For each logger, you can get a subLogger (to describe a method of a class for example). * * */ export declare class LoggerGenericService implements IloggerService { private static loggers; private static count; private static instance; private cache; constructor(options?: LoggerServiceOptions); private _options; private options; static getInstance(): any; count(): number; increment(): number; getLogger(instance: any, options?: any): Logger; loggersInstances(): any; loggers(): { global: LoggerServiceOptions; loggers: { [p: string]: LoggerOptions; }; }; level(level?: LoggerLevel): any; localLogging(localLogging?: boolean): any; remoteLogging(remoteLogging?: boolean): any; global(): LoggerGenericService; store(): LoggerGenericService; load(): LoggerGenericService; unstore(): LoggerGenericService; sent(): void; private getExceptionWithErrorLineNumber; private getArgsForConsole; private cacheLog; private rotateCache; getConsoleLogger(logContext: LogContext): Function; private getConsoleJsonMethod; private getConsoleMethod; }