0.0.3 • Published 4 years ago

rlogs.js v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

rLogs® | Better Log Notifications




Developer / Geliştirici: Swôth#9990 (Member of teamRennia)



Usage / Kullanım




EN: First we have to define the package.
TR: İlk olarak modülü tanımlamalıyız.
const rLogs = require('rlogs.js');

EN: Let's make the settings!
TR: Hadi ayarları yapalım!
const rLogs = require('rlogs.js');
new rLogs({
    language: "EN", // TR or EN is available...
    timezone: "Europe/Istanbul", // Example: Europe/Paris or Europe/Istanbul
    view: "NORMAL", // NORMAL and SMALL is available...
});

EN: Let's send a normal log!
TR: Hadi normal log gönderelim!
const rLogs = require('rlogs.js');
new rLogs({
    language: "EN", // TR or EN is available...
    timezone: "Europe/Istanbul", // Example: Europe/Paris or Europe/Istanbul
    view: "NORMAL", // NORMAL and SMALL is available...
});
rLogs.log("Hello world!"); // Output: [ Date: 22.10.2020 | Time: 19:09 ] LOG: Hello world!

EN: Let's send a warn log!
TR: Hadi uyarı logu gönderelim!
const rLogs = require('rlogs.js');
new rLogs({
    language: "EN", // TR or EN is available...
    timezone: "Europe/Istanbul", // Example: Europe/Paris or Europe/Istanbul
    view: "NORMAL", // NORMAL and SMALL is available...
});
rLogs.warn("WARN!"); // Output: [ Date: 22.10.2020 | Time: 19:09 ] WARN: WARN!

EN: Let's send a error log!
TR: Hadi hata logu gönderelim!
const rLogs = require('rlogs.js');
new rLogs({
    language: "EN", // TR or EN is available...
    timezone: "Europe/Istanbul", // Example: Europe/Paris or Europe/Istanbul
    view: "NORMAL", // NORMAL and SMALL is available...
});
rLogs.error("Oh error!"); // Output: [ Date: 22.10.2020 | Time: 19:09 ] ERROR: Oh error!



Updates / Güncellemeler




0.0.2 ▸ READ.ME bug has been fixed!

0.0.1 ▸ Package created and published on NPM



by Swôth#9990 (MIT)

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago