2.3.6 • Published 6 months ago
@types/koa-log4 v2.3.6
Installation
npm install --save @types/koa-log4
Summary
This package contains type definitions for koa-log4 (https://github.com/dominhhai/koa-log4js#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-log4.
index.d.ts
// Type definitions for koa-log4 2.3
// Project: https://github.com/dominhhai/koa-log4js#readme
// Definitions by: Cr. <https://github.com/a631807682>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.3
import * as Koa from 'koa';
import * as Log4js from 'log4js';
export function koaLogger(logger4js: Log4js.Logger, optionsOrFormat?: Options | string): Koa.Middleware;
export interface Options {
format?: string | undefined;
level?: Log4js.Level | 'auto' | undefined;
}
export * from 'log4js';
Additional Details
- Last updated: Thu, 08 Jul 2021 16:23:22 GMT
- Dependencies: @types/koa, @types/log4js
- Global values: none
Credits
These definitions were written by Cr..