Table of Contents

Class LoggerMessages

Namespace
Arc4u.Caching.Memory
Assembly
Arc4u.Caching.Memory.dll

Source-generated log messages of the memory cache.

public static class LoggerMessages
Inheritance
LoggerMessages
Inherited Members

Methods

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)

Parameters

logger ILogger

The logger.

store string

The name of the cache.

sizeLimitInMB long

The configured size limit.