C# 클래스 ModernApp4Me.Core.Log.M4MLogger

Just in order to have various loggers.
파일 보기 프로젝트 열기: smartnsoft/ModernApp4Me

공개 메소드들

메소드 설명
Debug ( string message, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
Error ( string message, Exception exception, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
Error ( string message, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
Fatal ( string message, Exception exception, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
Fatal ( string message, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
Info ( string message, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
IsDebugEnabled ( ) : bool
IsErrorEnabled ( ) : bool
IsFatalEnabled ( ) : bool
IsInfoEnabled ( ) : bool
IsWarnEnabled ( ) : bool
Warn ( string message, Exception exception, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
Warn ( string message, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
WriteTrace ( string log ) : void

보호된 메소드들

메소드 설명
BuildLog ( M4MLogLevel logLevel, string message, string callerMemberName, string callerFilePath, int callerLineNumber ) : string
BuildLog ( M4MLogLevel logLevel, string message, string exceptionMessage, string stackTrace, string callerMemberName, string callerFilePath, int callerLineNumber ) : string

비공개 메소드들

메소드 설명
BuildLogInternal ( M4MLogLevel logLevel, string message, string callerMemberName, string callerFilePath, int callerLineNumber ) : StringBuilder

메소드 상세

BuildLog() 보호된 메소드

protected BuildLog ( M4MLogLevel logLevel, string message, string callerMemberName, string callerFilePath, int callerLineNumber ) : string
logLevel M4MLogLevel
message string
callerMemberName string
callerFilePath string
callerLineNumber int
리턴 string

BuildLog() 보호된 메소드

protected BuildLog ( M4MLogLevel logLevel, string message, string exceptionMessage, string stackTrace, string callerMemberName, string callerFilePath, int callerLineNumber ) : string
logLevel M4MLogLevel
message string
exceptionMessage string
stackTrace string
callerMemberName string
callerFilePath string
callerLineNumber int
리턴 string

Debug() 공개 메소드

public Debug ( string message, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
message string
callerMemberName [
callerFilePath [
callerLineNumber [
리턴 void

Error() 공개 메소드

public Error ( string message, Exception exception, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
message string
exception System.Exception
callerMemberName [
callerFilePath [
callerLineNumber [
리턴 void

Error() 공개 메소드

public Error ( string message, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
message string
callerMemberName [
callerFilePath [
callerLineNumber [
리턴 void

Fatal() 공개 메소드

public Fatal ( string message, Exception exception, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
message string
exception System.Exception
callerMemberName [
callerFilePath [
callerLineNumber [
리턴 void

Fatal() 공개 메소드

public Fatal ( string message, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
message string
callerMemberName [
callerFilePath [
callerLineNumber [
리턴 void

Info() 공개 메소드

public Info ( string message, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
message string
callerMemberName [
callerFilePath [
callerLineNumber [
리턴 void

IsDebugEnabled() 공개 메소드

public IsDebugEnabled ( ) : bool
리턴 bool

IsErrorEnabled() 공개 메소드

public IsErrorEnabled ( ) : bool
리턴 bool

IsFatalEnabled() 공개 메소드

public IsFatalEnabled ( ) : bool
리턴 bool

IsInfoEnabled() 공개 메소드

public IsInfoEnabled ( ) : bool
리턴 bool

IsWarnEnabled() 공개 메소드

public IsWarnEnabled ( ) : bool
리턴 bool

Warn() 공개 메소드

public Warn ( string message, Exception exception, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
message string
exception System.Exception
callerMemberName [
callerFilePath [
callerLineNumber [
리턴 void

Warn() 공개 메소드

public Warn ( string message, [ callerMemberName = "", [ callerFilePath = "", [ callerLineNumber = -1 ) : void
message string
callerMemberName [
callerFilePath [
callerLineNumber [
리턴 void

WriteTrace() 공개 추상적인 메소드

public abstract WriteTrace ( string log ) : void
log string
리턴 void