UNPKG

logger4node

Version:

![build](https://github.com/yog27ray/logger4node/actions/workflows/node.js.yml/badge.svg?branch=master) [![codecov](https://codecov.io/gh/yog27ray/logger4node/branch/master/graph/badge.svg)](https://codecov.io/gh/yog27ray/logger4node)

22 lines (21 loc) 785 B
import { Trace } from '../trace/trace'; import { GithubConfig, Logger, LogSeverity } from './logger'; export declare class Logger4Node { static Trace: typeof Trace; private readonly _applicationName; private stringLogging; private jsonLogging; private minLogLevelEnabled; private readonly github; private readonly logSeverityPattern; private readonly logPattern; setLogLevel(logSeverity?: LogSeverity): void; setLogPattern(pattern?: string): void; setLogSeverityPattern(level: LogSeverity, pattern?: string): void; setStringLogging(stringOnly: boolean): void; setJsonLogging(jsonLogging: boolean): void; constructor(applicationName: string, option?: { github?: GithubConfig; }); instance(name: string): Logger; }