Class LoggerMessages
Source-generated log messages of the memory cache.
public static class LoggerMessages
- Inheritance
-
LoggerMessages
- Inherited Members
Methods
LogCacheIsAlreadyInitialized(ILogger, string)
Logs (event 9030, Warning) that the memory cache is already initialized.
[LoggerMessage(EventId = 9030, Level = LogLevel.Warning, Message = "Memory Cache {store} is already initialized.")]
public static void LogCacheIsAlreadyInitialized(this ILogger logger, string store)
Parameters
LogCacheIsInitialized(ILogger, string)
Logs (event 9031, Information) that the memory cache is initialized.
[LoggerMessage(EventId = 9031, Level = LogLevel.Information, Message = "Memory caching for state store {store} is initialized.")]
public static void LogCacheIsInitialized(this ILogger logger, string store)
Parameters
LogCacheSizeLimit(ILogger, string, long)
Logs (event 9032, Warning) the size limit of the memory cache, when it is not positive.
[LoggerMessage(EventId = 9032, Level = LogLevel.Warning, Message = "The size limit for the {Store} cache is {SizeLimitInMB}.")]
public static void LogCacheSizeLimit(this ILogger logger, string store, long sizeLimitInMB)