C# 클래스 CloudProviders.CloudLogger

This static class provides the Application Insights Logger to this Library
파일 보기 프로젝트 열기: ross-p-smith/Mercury

공개 메소드들

메소드 설명
Log ( LogLevel logLevel, string message ) : void

Provides thread safe access to the logger object

SetLogger ( ILogger logger ) : void

The App Insights Logger wrapping field

메소드 상세

Log() 공개 정적인 메소드

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
리턴 void

SetLogger() 공개 정적인 메소드

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