IInstanceLoggerLog Method
|
Log a message at the specified log level
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax void Log(
LogLevel logLevel,
string messageBody,
params Object[] replaceValues
)
Sub Log (
logLevel As LogLevel,
messageBody As String,
ParamArray replaceValues As Object()
)
void Log(
LogLevel^ logLevel,
String^ messageBody,
... array<Object^>^ replaceValues
)
abstract Log :
logLevel : LogLevel *
messageBody : string *
replaceValues : Object[] -> unit
Parameters
- logLevel
- Type: LogLevel
Level to write the log message at - messageBody
- Type: SystemString
Message to write. Can include {#} string interpolation. - replaceValues
- Type: SystemObject
Objects to pass in to optional {#} string interpolation in messageBody
See Also Reference
Logger.Log(LogLevel, Object)