ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
21 lines (20 loc) • 797 B
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { InjectionToken, Provider } from '@angular/core';
export declare const NZ_LOGGER_STATE: InjectionToken<boolean>;
export declare class LoggerService {
private _loggerState;
constructor(_loggerState: boolean);
log(...args: any[]): void;
warn(...args: any[]): void;
error(...args: any[]): void;
info(...args: any[]): void;
debug(...args: any[]): void;
}
export declare function LOGGER_SERVICE_PROVIDER_FACTORY(exist: LoggerService, loggerState: boolean): LoggerService;
export declare const LOGGER_SERVICE_PROVIDER: Provider;