UNPKG

@nova-ui/bits

Version:

SolarWinds Nova Framework

49 lines (48 loc) 1.21 kB
import { NuiEnvironment } from "../environment"; import * as i0 from "@angular/core"; /** * __Name : __ * Log Service * * __Usage :__ * Used to show log messages in the console */ /** * @ignore */ export declare class LoggerService { private logLevel; constructor(env?: NuiEnvironment); /** * * __Description:__ Log to debug * @param ...msgs multiple arguments to be logged. */ get debug(): Console["debug"]; /** * * __Description:__ Log to info * @param ...msgs multiple arguments to be logged. */ get info(): Console["info"]; /** * * __Description:__ Log without specifying log level * @param ...msgs multiple arguments to be logged. */ get log(): Console["log"]; /** * * __Description:__ Log to warn * @param ...msgs multiple arguments to be logged. */ get warn(): Console["warn"]; /** * * __Description:__ Log to error * @param ...msgs multiple arguments to be logged. */ get error(): Console["error"]; static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, [{ optional: true; }]>; static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>; }