dailylog

0.1.1 • Public • Published

dailylog -- a daily log for node

a very simple nodejs daily log,just log things day by day on filesystem

#how to use

code like
var logger = require('dailylog').getlog({logdir:'./logs',name:'mylog'});
logger.log('hello,world');

then you will see log at ./logs/mylog-2022-07-09.txt,

and the content like "16:29:38.316|hello,world"

#how to install

npm install dailylog

/dailylog/

    Package Sidebar

    Install

    npm i dailylog

    Weekly Downloads

    5

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    5.32 kB

    Total Files

    4

    Last publish

    Collaborators

    • zhuofeijian