Click or drag to resize

LogOutgoing Method

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

Namespace:  Telogis.GeoBase.Diagnostics
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static void Outgoing(
	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.Outgoing("Outgoing 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