1.1.0 • Published 2 years ago

aminologer v1.1.0

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

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