Click or drag to resize

LogIncoming Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Logs an incoming message.

Namespace:  Telogis.GeoBase.Diagnostics
Assembly:  geobase.net (in geobase.net.dll) Version: 4.83.0.0
Syntax
public static void Incoming(
	string message,
	params Object[] formatArgs
)

Parameters

message
Type: SystemString
The message that describes the error.
formatArgs
Type: SystemObject
Parameters to include in the message.
Examples
C#
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);
    }
}
See Also