Sudoo-Log

Continuous Integration codecov npm version downloads

Logs

Install

yarn add @sudoo/log
# Or
npm install @sudoo/log --save

Usage

import { LOG_LEVEL, SudooLog } from "@sudoo/log";

const agent: SudooLog = SudooLog.create(LOG_LEVEL.ALL); // Change log level by environment
agent.critical("critical");
agent.error("error");
agent.warning("warning");
agent.info("info");
agent.debug("debug");
agent.verbose("verbose");