2.5.4 • Published 5 years ago

@unsc/fir v2.5.4

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

🌲 fir

npm.io npm.io npm.io npm.io

Tired of complicated logging? Me too.

For small projects the current popular loggers are absurdley complex and verbose.
That's why I made fir. To be small yet powerful.

install

npm install --save @unsc/fir

log

An example using the default format.

fir.log("Hey welcome to Fir.");
// Fir: Hey welcome to Fir.

format

If you wish to format log messages:

fir.format(message => `example: ${message}`);

The callback will be sent the log message.
Return your formatted message and it will be applied at runtime.

save

If you want to save log messages:

fir.save("latest.log");

contribute

Pull requests are encouraged.

2.5.4

5 years ago

2.5.3

5 years ago

2.5.2

5 years ago

2.5.1

5 years ago

2.5.0

5 years ago

2.4.9

5 years ago

2.4.8

5 years ago

2.2.6

5 years ago

2.2.5

5 years ago

2.2.4

5 years ago

2.2.3

5 years ago