@types/koa-log4
TypeScript icon, indicating that this package has built-in type declarations

2.3.6 • Public • Published

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

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

Credits

These definitions were written by Cr..

Readme

Keywords

none

Package Sidebar

Install

npm i @types/koa-log4

Weekly Downloads

122

Version

2.3.6

License

MIT

Unpacked Size

3.28 kB

Total Files

5

Last publish

Collaborators

  • types