UNPKG

@log4js2/core

Version:

log4js2 is a fast and lightweight logging library that enables logging flexibility within JavaScript/TypeScript applications, similar to Apache's [Log4j2 library](https://logging.apache.org/log4j/2.x/). It can also serve as a drop-in replacement for log4

12 lines (11 loc) 246 B
import { ILogEvent } from '../log.event'; /** * @function * @memberOf formatter * * @param {string} layout * @param {ILogEvent} logEvent * * @return {string} */ export declare function format(layout: string, logEvent: ILogEvent): string;