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.
- 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)
- 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)