guvercin
v2.0.0-alpha.2
Published
Guvercin (Turkish word for 'dove', pronounced `/ɡyverˈdʒin/`) is a very simple logger library for Node.js.
Downloads
14
Readme
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");