GetLoggerStats Method
- Last UpdatedNov 06, 2025
- 1 minute read
The get logger stats.
'Declaration
<SuppressMessageAttribute("Microsoft.Performance",
"CA1811:AvoidUncalledPrivateCode",
Justification="Method does not have to be used by all clients of the Logger.")>
Friend Shared Function GetLoggerStats( _
ByVal hostName As String, _
ByRef errorCount As Integer, _
ByRef ftLastError As Long, _
ByRef warningCount As Integer, _
ByRef ftLastWarning As Long _
) As Integer
[SuppressMessage("Microsoft.Performance",
"CA1811:AvoidUncalledPrivateCode",
Justification="Method does not have to be used by all clients of the Logger.")]
internal static int GetLoggerStats(
string hostName,
ref int errorCount,
ref long ftLastError,
ref int warningCount,
ref long ftLastWarning
)
Parameters
- hostName
- The host name.
- errorCount
- The error count.
- ftLastError
- The ft last error.
- warningCount
- The warning count.
- ftLastWarning
- The ft last warning.
Return Value
Logger statistics