LogIncoming Method |
Namespace: Telogis.GeoBase.Diagnostics
class MyLogClass { static void Main() { // Use the LogEventHandler to handle the log event. Log.LogEvent += new LogEventHandler(Log_LogEvent); // Create the log type. Log.Incoming("Incoming Information {0}", 1234); Console.ReadKey(); } public static void Log_LogEvent(LogEntry ev) { // Write out the log message to the console. System.Console.Out.WriteLine(ev); } }