@nsalaun/ng-logger
Version:
Angular logger service
24 lines (23 loc) • 865 B
TypeScript
/**
* @license
* Copyright Noémi Salaün 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/noemi-salaun/ng-logger/blob/master/LICENSE
*/
import { ModuleWithProviders } from '@angular/core';
import { Level } from './level.enum';
import * as i0 from "@angular/core";
/**
* Created by Noémi Salaün on 09/17/2016.
*/
export declare class NgLoggerModule {
/**
* Provide the {@link Logger} with the given log {@link Level}.
* @param level The log level.
*/
static forRoot(level?: Level): ModuleWithProviders<NgLoggerModule>;
static ɵfac: i0.ɵɵFactoryDeclaration<NgLoggerModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NgLoggerModule, never, never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<NgLoggerModule>;
}