메소드 | 설명 | |
---|---|---|
CreateCloseGroup ( DateTimeStamp t, LogLevel level, IReadOnlyList |
Creates a ILogEntry for the closing of a group.
|
|
CreateLog ( string text, DateTimeStamp t, LogLevel level, string fileName, int lineNumber, CKTrait tags, CKExceptionData ex ) : ILogEntry |
Creates a ILogEntry for a line.
|
|
CreateMulticastCloseGroup ( Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousLogTime, int depth, DateTimeStamp t, LogLevel level, IReadOnlyList |
Creates a ILogEntry for the closing of a group.
|
|
CreateMulticastLog ( Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousLogTime, int depth, string text, DateTimeStamp t, LogLevel level, string fileName, int lineNumber, CKTrait tags, CKExceptionData ex ) : IMulticastLogEntry |
Creates a ILogEntry for a line.
|
|
CreateMulticastOpenGroup ( Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousLogTime, int depth, string text, DateTimeStamp t, LogLevel level, string fileName, int lineNumber, CKTrait tags, CKExceptionData ex ) : IMulticastLogEntry |
Creates a ILogEntry for an opened group.
|
|
CreateOpenGroup ( string text, DateTimeStamp t, LogLevel level, string fileName, int lineNumber, CKTrait tags, CKExceptionData ex ) : ILogEntry |
Creates a ILogEntry for an opened group.
|
|
Read ( CKBinaryReader r, int streamVersion, bool &badEndOfFile ) : ILogEntry |
Reads a ILogEntry from the binary reader that can be a IMulticastLogEntry. If the first read byte is 0, read stops and null is returned. The 0 byte is the "end marker" that CKMonWriterClient.Close() write, but this method can read non zero-terminated streams (it catches an EndOfStreamException when reading the first byte and handles it silently). This method can throw any type of exception (System.IO.EndOfStreamException or InvalidDataException for instance) that must be handled by the caller.
|
|
WriteCloseGroup ( CKBinaryWriter w, Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousLogTime, int depth, LogLevel level, DateTimeStamp closeTime, IReadOnlyList |
Binary writes a multicast closing entry.
|
|
WriteCloseGroup ( CKBinaryWriter w, LogLevel level, DateTimeStamp closeTime, IReadOnlyList |
Binary writes a closing entry.
|
|
WriteLog ( CKBinaryWriter w, Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousLogTime, int depth, bool isOpenGroup, LogLevel level, DateTimeStamp logTime, string text, CKTrait tags, CKExceptionData ex, string fileName, int lineNumber ) : void |
Binary writes a multicast log entry.
|
|
WriteLog ( CKBinaryWriter w, bool isOpenGroup, LogLevel level, DateTimeStamp logTime, string text, CKTrait tags, CKExceptionData ex, string fileName, int lineNumber ) : void |
Binary writes a log entry.
|
메소드 | 설명 | |
---|---|---|
CreateMissingCloseGroup ( DateTimeStamp knownTime ) : ILogEntry | ||
CreateMissingLine ( DateTimeStamp knownTime ) : ILogEntry | ||
CreateMissingOpenGroup ( DateTimeStamp knownTime ) : ILogEntry | ||
DoWriteCloseGroup ( CKBinaryWriter w, StreamLogType t, LogLevel level, DateTimeStamp closeTime, IReadOnlyList |
||
DoWriteLog ( CKBinaryWriter w, StreamLogType t, LogLevel level, DateTimeStamp logTime, string text, CKTrait tags, CKExceptionData ex, string fileName, int lineNumber ) : void | ||
IsMissingLogEntry ( ILogEntry entry ) : bool | ||
ReadGroupClosed ( int streamVersion, CKBinaryReader r, StreamLogType t, LogLevel logLevel ) : ILogEntry | ||
ReadLogTypeAndLevel ( BinaryReader r, StreamLogType &t, LogLevel &l ) : void | ||
ReadMulticastFooter ( int streamVersion, CKBinaryReader r, StreamLogType t, Guid &mId, int &depth, LogEntryType &prevType, DateTimeStamp &prevTime ) : void | ||
UpdateTypeWithPrevious ( StreamLogType type, LogEntryType previousEntryType, DateTimeStamp &previousStamp ) : StreamLogType | ||
WriteLogTypeAndLevel ( BinaryWriter w, StreamLogType t, LogLevel level ) : void | ||
WriteMulticastFooter ( CKBinaryWriter w, Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousStamp, int depth ) : void |
public static CreateCloseGroup ( DateTimeStamp t, LogLevel level, IReadOnlyList |
||
t | DateTimeStamp | Time stamp of the log entry. |
level | LogLevel | Log level of the log entry. |
c | IReadOnlyList |
Group conclusions. |
리턴 | ILogEntry |
public static CreateLog ( string text, DateTimeStamp t, LogLevel level, string fileName, int lineNumber, CKTrait tags, CKExceptionData ex ) : ILogEntry | ||
text | string | Text of the log entry. |
t | DateTimeStamp | Time stamp of the log entry. |
level | LogLevel | Log level of the log entry. |
fileName | string | Source file name of the log entry |
lineNumber | int | Source line number of the log entry |
tags | CKTrait | Tags of the log entry |
ex | CKExceptionData | Exception of the log entry. |
리턴 | ILogEntry |
public static CreateMulticastCloseGroup ( Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousLogTime, int depth, DateTimeStamp t, LogLevel level, IReadOnlyList |
||
monitorId | Guid | Identifier of the monitor. |
previousEntryType | LogEntryType | Log type of the previous entry in the monitor.. |
previousLogTime | DateTimeStamp | Time stamp of the previous entry in the monitor. |
depth | int | Depth of the line (number of opened groups above). |
t | DateTimeStamp | Time stamp of the log entry. |
level | LogLevel | Log level of the log entry. |
c | IReadOnlyList |
Group conclusions. |
리턴 | IMulticastLogEntry |
public static CreateMulticastLog ( Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousLogTime, int depth, string text, DateTimeStamp t, LogLevel level, string fileName, int lineNumber, CKTrait tags, CKExceptionData ex ) : IMulticastLogEntry | ||
monitorId | Guid | Identifier of the monitor. |
previousEntryType | LogEntryType | Log type of the previous entry in the monitor.. |
previousLogTime | DateTimeStamp | Time stamp of the previous entry in the monitor. |
depth | int | Depth of the line (number of opened groups above). |
text | string | Text of the log entry. |
t | DateTimeStamp | Time stamp of the log entry. |
level | LogLevel | Log level of the log entry. |
fileName | string | Source file name of the log entry |
lineNumber | int | Source line number of the log entry |
tags | CKTrait | Tags of the log entry |
ex | CKExceptionData | Exception of the log entry. |
리턴 | IMulticastLogEntry |
public static CreateMulticastOpenGroup ( Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousLogTime, int depth, string text, DateTimeStamp t, LogLevel level, string fileName, int lineNumber, CKTrait tags, CKExceptionData ex ) : IMulticastLogEntry | ||
monitorId | Guid | Identifier of the monitor. |
previousEntryType | LogEntryType | Log type of the previous entry in the monitor.. |
previousLogTime | DateTimeStamp | Time stamp of the previous entry in the monitor. |
depth | int | Depth of the line (number of opened groups above). |
text | string | Text of the log entry. |
t | DateTimeStamp | Time stamp of the log entry. |
level | LogLevel | Log level of the log entry. |
fileName | string | Source file name of the log entry |
lineNumber | int | Source line number of the log entry |
tags | CKTrait | Tags of the log entry |
ex | CKExceptionData | Exception of the log entry. |
리턴 | IMulticastLogEntry |
public static CreateOpenGroup ( string text, DateTimeStamp t, LogLevel level, string fileName, int lineNumber, CKTrait tags, CKExceptionData ex ) : ILogEntry | ||
text | string | Text of the log entry. |
t | DateTimeStamp | Time stamp of the log entry. |
level | LogLevel | Log level of the log entry. |
fileName | string | Source file name of the log entry |
lineNumber | int | Source line number of the log entry |
tags | CKTrait | Tags of the log entry |
ex | CKExceptionData | Exception of the log entry. |
리턴 | ILogEntry |
static public Read ( CKBinaryReader r, int streamVersion, bool &badEndOfFile ) : ILogEntry | ||
r | CKBinaryReader | The binary reader. |
streamVersion | int | The version of the stream. |
badEndOfFile | bool | True whenever the end of file is the result of an |
리턴 | ILogEntry |
static public WriteCloseGroup ( CKBinaryWriter w, Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousLogTime, int depth, LogLevel level, DateTimeStamp closeTime, IReadOnlyList |
||
w | CKBinaryWriter | Binary writer to use. |
monitorId | Guid | Identifier of the monitor. |
previousEntryType | LogEntryType | Log type of the previous entry in the monitor.. |
previousLogTime | DateTimeStamp | Time stamp of the previous entry in the monitor. |
depth | int | Depth of the group (number of opened groups above). |
level | LogLevel | Log level of the log entry. |
closeTime | DateTimeStamp | Time stamp of the group closing. |
conclusions | IReadOnlyList |
Group conclusions. |
리턴 | void |
static public WriteCloseGroup ( CKBinaryWriter w, LogLevel level, DateTimeStamp closeTime, IReadOnlyList |
||
w | CKBinaryWriter | Binary writer to use. |
level | LogLevel | Log level of the log entry. |
closeTime | DateTimeStamp | Time stamp of the group closing. |
conclusions | IReadOnlyList |
Group conclusions. |
리턴 | void |
static public WriteLog ( CKBinaryWriter w, Guid monitorId, LogEntryType previousEntryType, DateTimeStamp previousLogTime, int depth, bool isOpenGroup, LogLevel level, DateTimeStamp logTime, string text, CKTrait tags, CKExceptionData ex, string fileName, int lineNumber ) : void | ||
w | CKBinaryWriter | Binary writer to use. |
monitorId | Guid | Identifier of the monitor. |
previousEntryType | LogEntryType | Log type of the previous entry in the monitor.. |
previousLogTime | DateTimeStamp | Time stamp of the previous entry in the monitor. |
depth | int | Depth of the line (number of opened groups above). |
isOpenGroup | bool | True if this the opening of a group. False for a line. |
level | LogLevel | Log level of the log entry. |
logTime | DateTimeStamp | Time stamp of the log entry. |
text | string | Text of the log entry. |
tags | CKTrait | Tags of the log entry |
ex | CKExceptionData | Exception of the log entry. |
fileName | string | Source file name of the log entry |
lineNumber | int | Source line number of the log entry |
리턴 | void |
static public WriteLog ( CKBinaryWriter w, bool isOpenGroup, LogLevel level, DateTimeStamp logTime, string text, CKTrait tags, CKExceptionData ex, string fileName, int lineNumber ) : void | ||
w | CKBinaryWriter | Binary writer to use. |
isOpenGroup | bool | True if this the opening of a group. False for a line. |
level | LogLevel | Log level of the log entry. |
logTime | DateTimeStamp | Time stamp of the log entry. |
text | string | Text of the log entry. |
tags | CKTrait | Tags of the log entry |
ex | CKExceptionData | Exception of the log entry. |
fileName | string | Source file name of the log entry |
lineNumber | int | Source line number of the log entry |
리턴 | void |