@vraj.patel/viitorcloud-ng-utility-library-test-9
Version:
The **ViitorCloud NG Utility Library** developed with the Angular 16 framework, stands out for its exceptional adaptability and reusability within Angular projects. This comprehensive collection encompasses utility services, directives, and components str
37 lines (36 loc) • 1.89 kB
TypeScript
import * as i0 from "@angular/core";
export declare class VcLoggerService {
/**
* The log function logs the value and any additional arguments to the console if the application is
* in development mode.
* @param {any} value - The `value` parameter is the main value that you want to log. It can be of
* any type, as indicated by the `any` type annotation.
* @param {any[]} rest - The rest parameter allows you to pass an arbitrary number of arguments to
* the function. In this case, the rest parameter is denoted by the ellipsis (...) and is used to
* capture any additional arguments passed to the function after the initial "value" parameter. These
* additional arguments are then stored in an array
*/
static log(value: any, ...rest: any[]): void;
/**
* The function logs an error to the console.
* @param {any} error - The "error" parameter is of type "any", which means it can accept any type of
* value.
*/
static error(error: any): void;
/**
* The "warn" function logs a warning message to the console if the application is in development
* mode.
* @param {any} value - The value parameter is the value that you want to log as a warning message.
* @param {any[]} rest - The rest parameter allows you to pass an arbitrary number of arguments to
* the function. In this case, the rest parameter `...rest` is used to capture any additional
* arguments that are passed to the `warn` function after the `value` parameter. These additional
* arguments can be accessed as an array within
*/
static warn(value: any, ...rest: any[]): void;
/**
* The function clears the console.
*/
static clear(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<VcLoggerService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<VcLoggerService>;
}