LogSQL Method
- Last UpdatedNov 06, 2025
- 1 minute read
The LogSQL method logs the messages when the SQL flag is enabled in the LogFlagEditor
'Declaration
<SuppressMessageAttribute("Microsoft.Performance",
"CA1811:AvoidUncalledPrivateCode",
Justification="Method does not have to be used by all clients of the Logger.")>
Public Shared Sub LogSQL( _
ByVal errorMessage As String _
)
[SuppressMessage("Microsoft.Performance",
"CA1811:AvoidUncalledPrivateCode",
Justification="Method does not have to be used by all clients of the Logger.")]
public static void LogSQL(
string errorMessage
)
Parameters
- errorMessage
- The message.