@marblejs/middleware-logger

Logger middleware for Marble.js

Stats

StarsIssuesVersionUpdatedCreatedSize
@marblejs/middleware-logger
1,81354.0.07 days ago3 years agoMinified + gzip package size for @marblejs/middleware-logger in KB

Readme

Marble.js logo

@marblejs/middleware-logger

A logger middleware for Marble.js.

Installation

$ npm i @marblejs/middleware-logger

Requires @marblejs/core and @marblejs/http to be installed.

Documentation

For the latest updates, documentation, change log, and release information visit docs.marblejs.com and follow @marble_js on Twitter.

Usage

import { logger$ } from '@marblejs/middleware-logger';

const middlewares = [
  logger$(),
  ...
];

const effects = [
  ...
];

export const app = httpListener({ middlewares, effects });

License: MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.