Skip to content

Commit 64d0344

Browse files
author
Zachary Haber
committed
chore: logfaces event has required propertiers
1 parent 6ed8354 commit 64d0344

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

types/index.d.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,21 @@ export type LogFacesLayoutFunction = (
3636
/** [Data model: Log events](http://www.moonlit-software.com/logfaces/downloads/logfaces-manual.pdf) */
3737
export interface LogFacesEvent {
3838
/** Time stamp as specified by the source or server */
39-
t?: number;
40-
/** Sequence number, each event produced by logFaces has running sequence number */
41-
q?: number;
39+
t: number;
4240
/** Severity of event expressed in term of log4j levels */
43-
p?: number | string;
41+
p: number | string;
4442
/** Name of the domain (or application) originating the event */
45-
a?: string;
43+
a: string;
4644
/** Name of the host originating the event */
4745
h?: string;
4846
/** Name of the logger (class, module, etc) originating the event */
49-
g?: string;
47+
g: string;
5048
/** Name of the thread originating the event */
5149
r?: string;
5250
/** Message Content */
5351
m?: string;
5452
/** [Network Diagnostic Context](http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/NDC.html) */
55-
n?: string;
53+
n?: unknown;
5654
/** Indication whether the event is a thrown exception */
5755
w?: boolean;
5856
/** Stack trace of thrown exceptions */

0 commit comments

Comments
 (0)