Class LoggerMessages
- Namespace
- Arc4u
- Assembly
- Arc4u.dll
Source-generated log messages used by the time zone and certificate handling of Arc4u.
public static class LoggerMessages
- Inheritance
-
LoggerMessages
- Inherited Members
Methods
LogCertificateUriError(ILogger, string)
Logs that a certificate could not be retrieved from a URI.
[LoggerMessage(EventId = 9102, Level = LogLevel.Error, Message = "Certificate was not retrieved from the uri, {Uri}.")]
public static void LogCertificateUriError(this ILogger logger, string uri)
Parameters
LogCertificateUsed(ILogger, string)
Logs (at trace level) the subject of the certificate that is used.
[LoggerMessage(EventId = 9103, Level = LogLevel.Trace, Message = "Certificate used is {CertificateSubject}.")]
public static void LogCertificateUsed(this ILogger logger, string certificateSubject)
Parameters
LogEmptyPemCertificate(ILogger, string)
Logs that the PEM extraction of a certificate is empty.
[LoggerMessage(EventId = 9104, Level = LogLevel.Error, Message = "Pem extraction for Certificate {CertificateSubject} is empty.")]
public static void LogEmptyPemCertificate(this ILogger logger, string certificateSubject)
Parameters
LogTryToUseTimeZone(ILogger, string)
Logs (at trace level) the time zone that is about to be used.
[LoggerMessage(EventId = 9101, Level = LogLevel.Trace, Message = "Try to define the time zone to {Zone}.")]
public static void LogTryToUseTimeZone(this ILogger logger, string zone)
Parameters
LogZoneNotFound(ILogger, string)
Logs that a time zone was not found.
[LoggerMessage(EventId = 9100, Level = LogLevel.Warning, Message = "Zone {Zone} is not found!")]
public static void LogZoneNotFound(this ILogger logger, string zone)