@dan28/nodelog

0.0.1 • Public • Published

Nodelog Service

This is a simple service that allows you to log messages to a file. It is intended to be used as a simple logging service for your applications.

Installation

  • Add module npm install @dan28/nodelog --save

Log an event

import { service as auditService } from "nodelog"

const auditLog: auditService.AuditLog = {

}
auditService.log(auditLog)

Get filtered logs

import { service as auditService } from "nodelog"

const auditLogFilter: auditService.AuditLogFilter = {

}
auditService.getLog(auditLogFilter)

As a client module

  • Add module npm install @dan28/nodelog --save

Log an event

import { client as auditClient } from "nodelog"

const auditLog: AuditLog = {

}
auditClient.log(auditLog)

Get filtered logs

import { client as auditClient } from "nodelog"

const auditLogFilter: auditClient.AuditLogFilter = {

}
auditClient.getLog(auditLogFilter)

Package Sidebar

Install

npm i @dan28/nodelog

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

32 kB

Total Files

45

Last publish

Collaborators

  • dan28