1.0.8 • Published 2 years ago

logfile-logger v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Simple logging tool to log to a .txt file or the console.

Usage

const log = require('@kerrody/logfile-logger')

Logging to console:

log.console(<message>)

Logging to logfile:

log.file(<mesasge>, <logfile_name.txt>, <encoding>)

Logging to console and logfile:

log.everywhere(<mesasge>, <logfile_name.txt>, <encoding>)

Note:

  • encoding can be, ascii, utf8 or base64
  • logfile_name and encoding are optional, if not parsed logs.txt and utf8 will be used by default
1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago