Skip to content

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

License

Notifications You must be signed in to change notification settings

guvercinjs/guvercin

Repository files navigation

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");