Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 758 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 758 Bytes

Guvercin

Guvercin (Turkish word for "dove", pronounced /ɡyverˈdʒin/) is a very simple logger library for Node.js.

Installation

npm i guvercin

Usage

import { Guvercin } from "guvercin";

const guvercin = new Guvercin({
  enabled: true;
  showTime: true;
  saveToLocal: boolean;
  logFilePath: "./logs";
  separator?: "#";
  name?: "Logger";
  scope?: "users-controller";
});

guvercin.debug("This is a debug message");
guvercin.error("This is an error message");
guvercin.info("This is an info message");
guvercin.success("This is a success message");
guvercin.warning("This is a warning message");