DataSource.NET
Log Method (level, categories, message, messageParameters)
NamespacesCaplin.LoggingILoggerLog(LogLevels, array<String>[]()[], String, array<Object>[]()[])
Logs a single message with a given severity and one or more categories, and with supplied parameter values substituted into it.
Declaration Syntax
C#Visual BasicVisual C++
void Log(
	LogLevels level,
	string[] categories,
	string message,
	params Object[] messageParameters
)
Sub Log ( _
	level As LogLevels, _
	categories As String(), _
	message As String, _
	ParamArray messageParameters As Object() _
)
void Log(
	LogLevels level, 
	array<String^>^ categories, 
	String^ message, 
	... array<Object^>^ messageParameters
)
Parameters
level (LogLevels)
The logging level, indicating the severity of the message to be logged.
categories (array< String >[]()[])
An arrary of log categories. These categories identify the type of message being logged and the components from which the message originates.
message (String)
The message to be logged.
messageParameters (array< Object >[]()[])
One or more message parameter values that are to be substituted into message.
Remarks
The message can contain C# format specifiers that correspond to the message parameters. The method should substitute the message parameters into the supplied message (using Format(String, array<Object>[]()[])), to produce a readable message that is then logged.

Assembly: DataSource.NET (Module: DataSource.NET) Version: 6.0.12.814 (6.0.12.0814)