Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 589 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 589 Bytes

@turkerssh/logger

Installation

$ npm install @turkerssh/logger

Usage

const logger = require('@turkerssh/logger');

logger.info({ type: "info", message: "This is an info message" });
logger.error({ type: "error", message: "This is an error message" });
logger.success({ type: "success", message: "This is a success message" });
logger.warn({ type: "warn", message: "This is a warn message" });
logger.debug({ type: "debug", message: "This is a debug message" });

Check my other projects

Check my GitHub!