llogs
v1.1.2
Published
A logger that logs the information of your files, and puts all of the info in a generated text file.
Downloads
2
Readme
LLOGS
A logger that logs the information of your files, and puts all of the info in a generated text file.
Install
npm install --save llogs
Use
package.json
:
// ...
"scripts": {
"llog": "llog -f path/to/your/file.js"
}
// ...
Flags
NOTE that llogs can log info about directories and files, and we have different flags for that:
-f, --file <filename>
: Watches a file
Example:
$ llogs -f path/to/file.txt
-d, --dir <dirname>
: Watches a directory
Example:
$ llogs -d path/to/dir
-g, --genfile <name>
: Generates a text file with the given name. Default is llogs.
Example:
$ llogs -f for/this/example.gen.d.ts -g for-this-example-checker
Generates a file called for-this-example-checker.txt
License
Under the MIT License