C# Class MemoryMappedLog.MMLog

Afficher le fichier Open project: tomba/dwarrowdelf Class Usage Examples

Méthodes publiques

Méthode Description
Append ( TraceEventType eventType, int tick, LogComponent component, string thread, string header, string message ) : void
ReadNewEntries ( int sinceIdx, int &newIdx ) : MemoryMappedLog.LogEntry[]
RegisterChangeCallback ( System.Action callback ) : void

Private Methods

Méthode Description
GetCurrentIndex ( ) : int
GetEntryOffset ( int entryIndex ) : int
IncrementCurrentIndex ( ) : int
MMLog ( ) : System
ReadArray ( int entryIndex, byte array ) : int
ReadEntry ( int entryIndex ) : LogEntry
WriteArray ( int entryIndex, byte array, int len ) : void

Method Details

Append() public static méthode

public static Append ( TraceEventType eventType, int tick, LogComponent component, string thread, string header, string message ) : void
eventType TraceEventType
tick int
component LogComponent
thread string
header string
message string
Résultat void

ReadNewEntries() public static méthode

public static ReadNewEntries ( int sinceIdx, int &newIdx ) : MemoryMappedLog.LogEntry[]
sinceIdx int
newIdx int
Résultat MemoryMappedLog.LogEntry[]

RegisterChangeCallback() public static méthode

public static RegisterChangeCallback ( System.Action callback ) : void
callback System.Action
Résultat void