Skip to content

bpcloud/middleware-log4js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logger middleware in bpframework.

Middleware specification

https://github.com/bpcloud/middleware

Setup.

import { Application } from 'bpframework';
import * as middleware_logger from '@bpframework/middleware-log4js';

Application.use(middleware_logger.middleware)
Application.runKoa(...);

Config.

bp:
  # feign client log (none, basic, headers, full).
  feignLoggingLevel: full # full
  # restController log (none, basic, headers, full).
  restControllerLoggingLevel: full # full
  # logger dir
  loggerDir: 

Usage.

getLogger().info(...);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published