-
-
Notifications
You must be signed in to change notification settings - Fork 7
Log
Manolo Edge edited this page Jun 23, 2019
·
3 revisions
This class makes hold of the log related information, and has some logic built in.
let { Log } = require('loggin-js');
// Or
let Log = require('loggin-js/lib/log');export interface Log {
constructor(message:string, data:any, level: loggin.Severity, channel: string, time: Date, user: string)
message: string;
data: any;
level: loggin.Severity;
channel: string;
levelStr: string;
time: number | Date;
user: string;
}If you find an outdated document or you think that it does miss to explain some point or there is some issue, please leave an issue! Or make a PR with the fix!!