UNPKG

log4js2

Version:

[![Build Status](https://travis-ci.org/anigenero/log4js2.svg?branch=master)](https://travis-ci.org/anigenero/log4js2) [![codecov](https://codecov.io/gh/anigenero/log4js2/branch/master/graph/badge.svg)](https://codecov.io/gh/anigenero/log4js2)

12 lines (11 loc) 380 B
import IConfiguration from './config/configuration'; import { Method } from './def'; import { Logger } from './logger/logger'; /** * Configures the logger * * @function * @params {IConfiguration} config */ export declare function configure(config: IConfiguration): void; export declare const getLogger: <T>(context?: string | Function | (new () => T) | Method<T>) => Logger;