1.0.8 • Published 3 years ago

logfile-logger v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
3 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

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago