Beispiel #1
0
 public PlatformLogEntry(string message, PlatformLogCategory level, PlatformLogPriority priority)
 {
     m_id        = Guid.NewGuid();
     m_entryLock = new object();
     m_message   = message;
     m_category  = level;
     m_priority  = priority;
     SetLogDate();
 }
Beispiel #2
0
 public PlatformLogEntry(string message, PlatformLogCategory level) : this(message, level, PlatformLogPriority.None)
 {
 }
Beispiel #3
0
 public PlatformLogEntry(PlatformLogCategory level) : this("", level, PlatformLogPriority.None)
 {
 }
Beispiel #4
0
 public PlatformLogEntry(PlatformLogCategory level, PlatformLogPriority priority) : this("", level, priority)
 {
 }
Beispiel #5
0
 public void Log(string message, PlatformLogCategory category, PlatformLogPriority priority)
 {
     Log(new PlatformLogEntry(message, category));
 }