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 |
static void WriterMain() { for (int i = 0; i < 1000; ++i) { MMLog.Append(TraceEventType.Information, i, LogComponent.Client, "CMain", "Foo", String.Format("qwe {0}", i)); } s_exit = true; }
static void SpamMain() { int i = 0; while (s_exit == false) { MMLog.Append(TraceEventType.Information, 123, LogComponent.Client, "kala", "hdr", String.Format("qwe {0}", i++)); System.Threading.Thread.Sleep(1000); } }