2.3.6 • Published 6 months ago

@types/koa-log4 v2.3.6

Weekly downloads
167
License
MIT
Repository
github
Last release
6 months ago

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

Credits

These definitions were written by Cr..

2.3.4

8 months ago

2.3.6

6 months ago

2.3.5

6 months ago

2.3.3

3 years ago

2.3.2

4 years ago

2.3.1

5 years ago

2.3.0

5 years ago