1.1.0 • Published 3 years ago

aminologer v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Simple AminoLoger

Constructor options

Path - place where you save log files (accepts String)

Console - an local declaration for console (accepts object, Object prototype)

Operations

Log

<amino>.log(message)

Error

<amino>.error(message)

Info

<amino>.info(message)

Success

<amino>.success(message)

Warning

<amino>.warn(message)

Example

const Amino = require(`aminologer`)
const logs = new Amino('./logs', console)
logs.warn('Leak of memory detected.')
1.1.0

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