src/AppMotor.TestCore/Logging/TestLoggerStatistics.cs
/// <summary>
/// Returns the number of log entries for the given log level.
/// </summary>
Returns the number of log entries for the given log level.
Returns the number of log entries for the given log level .
[Pure]
    public int GetLogCount(LogLevel logLevel)
    {
        lock (this._logEntryCounts)
        {
            if (this._logEntryCounts.TryGetValue(logLevel, out var count))
            {
                return count;
            }
            return 0;
        }
    }
[ Pure ] public int GetLogCount ( LogLevel logLevel ) { lock ( this . _logEntryCounts ) { if ( this . _logEntryCounts . TryGetValue ( logLevel , out var count ) ) { return count ; } return 0 ; } }
Returns the number of log entries for the given log level.
Returns the number of log entries for the given log level .
logLevel
LogLevel