cream-soda
TypeScript icon, indicating that this package has built-in type declarations

6.0.13 • Public • Published

Cream Soda

Installation

npm install cream-soda

Basic usage

const logger = require("cream-soda");
 
// logging functions
logger.set("level", "info");
 
logger.fatal("this will be logged");
logger.error("this will be logged");
logger.warn("this will be logged");
logger.info("this will be logged");
logger.debug("this will not be logged");
logger.verbose("this will not be logged");
const logger = require("cream-soda");
const express = require("express");
 
let app = express();
 
// middleware
app.use(logger.access.middleware());
 
...

Docs

Detailed docs can be found here.

License

MIT

Package Sidebar

Install

npm i cream-soda

Weekly Downloads

1

Version

6.0.13

License

MIT

Last publish

Collaborators

  • stormymcstorm