@marblejs/middleware-logger
TypeScript icon, indicating that this package has built-in type declarations

4.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @marblejs/middleware-logger

Weekly Downloads

289

Version

4.1.0

License

MIT

Unpacked Size

10.6 kB

Total Files

21

Last publish

Collaborators

  • jflakus