UNPKG

ngx-logs

Version:

A Web console is a tool which is mainly used to log information associated with a web page like: network requests, JavaScript, security errors, warnings, CSS etc. It enables us to interact with a web page by executing JavaScript expression in the contents

42 lines (41 loc) 1.21 kB
import * as i0 from "@angular/core"; export declare class NgxLogsService { /** * Logs current page info with all require information's (URL, PATH etc.) */ log(text: string): void; /** * Logs Error message for custom strings as console logs */ error(text: string): void; /** * Logs Error message for custom strings as console logs */ warn(text: string): void; /** * Same as console logs */ info(text: string): void; /** * Clears the entire console logs */ clear(): void; /** * Console logs for iterations with index value - Can be used with for , forin, foreach, do..while */ counter(text: string): void; /** * Logs current page info with all require information's (URL, PATH etc.) */ directory(): void; /** * Displays array or JSON of array/dictionary input as a table in console */ table(array: any): void; /** * Logs current page info with all require information's (URL, PATH etc.) */ private currentTime; static ɵfac: i0.ɵɵFactoryDeclaration<NgxLogsService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NgxLogsService>; }