C# Class CloudProviders.CloudLogger

This static class provides the Application Insights Logger to this Library
Afficher le fichier Open project: ross-p-smith/Mercury

Méthodes publiques

Méthode Description
Log ( LogLevel logLevel, string message ) : void

Provides thread safe access to the logger object

SetLogger ( ILogger logger ) : void

The App Insights Logger wrapping field

Method Details

Log() public static méthode

Provides thread safe access to the logger object
public static Log ( LogLevel logLevel, string message ) : void
logLevel LogLevel The level to log the message at
message string The message to log
Résultat void

SetLogger() public static méthode

The App Insights Logger wrapping field
public static SetLogger ( ILogger logger ) : void
logger ILogger The logger to be provided to the singleton
Résultat void