import { LogService } from '../log/log.service'; import { ConsoleMethod, ConsoleMethods, LOGGER_LEVEL } from '../logger-types'; import { PrefixService } from '../prefix/prefix.service'; /** * @hidden */ export declare class LogConsoleService extends LogService { private _levels; private _console; private _prefixService; /** * Output prefix */ private _prefixName; /** * Allows for optional prefix. */ constructor(_levels: LOGGER_LEVEL, _console: ConsoleMethods, _prefixService: PrefixService); /** * Gets the method from the console object. */ get debug(): ConsoleMethod; /** * Gets the method from the console object. */ get error(): ConsoleMethod; /** * Gets the method from the console object. */ get info(): ConsoleMethod; /** * Gets the method from the console object. */ get log(): ConsoleMethod; /** * Gets the method from the console object. */ get warn(): ConsoleMethod; /** * Gets the current prefix. */ getPrefix(): string; /** * Returns the logging function from the console object. */ method(name: string): ConsoleMethod; /** * Changes the loggers prefix. */ setPrefix(value: string): LogService; /** * Creates a logger with an automatic prefix. */ withPrefix(value?: string, separator?: string): LogService; }