DefinitelyTyped/types/koa-bunyan-logger
Alex Robertson e3f24692a8
Add koaBunyanLogger.timeContext(opts) (#41977)
https://github.com/koajs/bunyan-logger#koabunyanloggertimecontextopts

> koaBunyanLogger.timeContext(opts)
> Adds time(label) and timeEnd(label) methods to the koa context, which records the time between the time() and timeEnd() calls for a given label.
>
> Calls to time() and timeEnd() can be nested or interleaved as long as they're balanced for each label.
>
> Options:
>
> logLevel: name of log level to use; defaults to 'trace'
> updateLogFields: function which will be called with arguments (fields) in koa context; can update fields or return a new object.
2020-01-30 13:15:39 -08:00
..
index.d.ts
koa-bunyan-logger-tests.ts
tsconfig.json
tslint.json