src/lib/log-message.model.ts
Log message.
Properties |
level |
level:
|
Type : string
|
Log level. |
logger |
logger:
|
Type : string
|
Name of the logger. |
message |
message:
|
Type : string[]
|
Message. |
methodName |
methodName:
|
Type : string
|
Method, in which the message was written. |
timeStamp |
timeStamp:
|
Type : Date
|
Time when the log was written. |
export interface LogMessage {
/**
* Time when the log was written.
*/
timeStamp: Date;
/**
* Log level.
*/
level: string;
/**
* Name of the logger.
*/
logger: string;
/**
* Method, in which the message was written.
*/
methodName: string;
/**
* Message.
*/
message: string[];
}