C# 클래스 Castle.Core.Logging.LevelFilteredLogger

상속: System.MarshalByRefObject, ILogger
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

Private Properties

프로퍼티 타입 설명
FatalError void
FatalError void
Log void

공개 메소드들

메소드 설명
CreateChildLogger ( string name ) : ILogger
Debug ( string message ) : void

Logs a debug message.

Debug ( string message, Exception exception ) : void

Logs a debug message.

DebugFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void

Logs a debug message.

DebugFormat ( Exception exception, string format ) : void

Logs a debug message.

DebugFormat ( IFormatProvider formatProvider, string format ) : void

Logs a debug message.

DebugFormat ( string format ) : void

Logs a debug message.

Error ( string message ) : void

Logs an error message.

Error ( string message, Exception exception ) : void

Logs an error message.

ErrorFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void

Logs an error message.

ErrorFormat ( Exception exception, string format ) : void

Logs an error message.

ErrorFormat ( IFormatProvider formatProvider, string format ) : void

Logs an error message.

ErrorFormat ( string format ) : void

Logs an error message.

Fatal ( string message ) : void

Logs a fatal message.

Fatal ( string message, Exception exception ) : void

Logs a fatal message.

FatalFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void

Logs a fatal message.

FatalFormat ( Exception exception, string format ) : void

Logs a fatal message.

FatalFormat ( IFormatProvider formatProvider, string format ) : void

Logs a fatal message.

FatalFormat ( string format ) : void

Logs a fatal message.

Info ( string message ) : void

Logs an info message.

Info ( string message, Exception exception ) : void

Logs an info message.

InfoFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void

Logs an info message.

InfoFormat ( Exception exception, string format ) : void

Logs an info message.

InfoFormat ( IFormatProvider formatProvider, string format ) : void

Logs an info message.

InfoFormat ( string format ) : void

Logs an info message.

InitializeLifetimeService ( ) : object

Keep the instance alive in a remoting scenario

LevelFilteredLogger ( ) : System

Creates a new LevelFilteredLogger.

LevelFilteredLogger ( LoggerLevel level ) : System
LevelFilteredLogger ( String name ) : System
LevelFilteredLogger ( String name, LoggerLevel level ) : System
Warn ( string message ) : void

Logs a warn message.

Warn ( string message, Exception exception ) : void

Logs a warn message.

WarnFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void

Logs a warn message.

WarnFormat ( Exception exception, string format ) : void

Logs a warn message.

WarnFormat ( IFormatProvider formatProvider, string format ) : void

Logs a warn message.

WarnFormat ( string format ) : void

Logs a warn message.

보호된 메소드들

메소드 설명
ChangeName ( String newName ) : void
Log ( LoggerLevel level, String name, String message, Exception exception ) : void

Implementors output the log content by implementing this method only. Note that exception can be null

비공개 메소드들

메소드 설명
FatalError ( string message ) : void
FatalError ( string message, Exception exception ) : void
Log ( LoggerLevel level, String message, Exception exception ) : void

메소드 상세

ChangeName() 보호된 메소드

protected ChangeName ( String newName ) : void
newName String
리턴 void

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

public abstract CreateChildLogger ( string name ) : ILogger
name string
리턴 ILogger

Debug() 공개 메소드

Logs a debug message.
public Debug ( string message ) : void
message string The message to log
리턴 void

Debug() 공개 메소드

Logs a debug message.
public Debug ( string message, Exception exception ) : void
message string The message to log
exception System.Exception The exception to log
리턴 void

DebugFormat() 공개 메소드

Logs a debug message.
public DebugFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void
exception System.Exception The exception to log
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
리턴 void

DebugFormat() 공개 메소드

Logs a debug message.
public DebugFormat ( Exception exception, string format ) : void
exception System.Exception The exception to log
format string Format string for the message to log
리턴 void

DebugFormat() 공개 메소드

Logs a debug message.
public DebugFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
리턴 void

DebugFormat() 공개 메소드

Logs a debug message.
public DebugFormat ( string format ) : void
format string Format string for the message to log
리턴 void

Error() 공개 메소드

Logs an error message.
public Error ( string message ) : void
message string The message to log
리턴 void

Error() 공개 메소드

Logs an error message.
public Error ( string message, Exception exception ) : void
message string The message to log
exception System.Exception The exception to log
리턴 void

ErrorFormat() 공개 메소드

Logs an error message.
public ErrorFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void
exception System.Exception The exception to log
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
리턴 void

ErrorFormat() 공개 메소드

Logs an error message.
public ErrorFormat ( Exception exception, string format ) : void
exception System.Exception The exception to log
format string Format string for the message to log
리턴 void

ErrorFormat() 공개 메소드

Logs an error message.
public ErrorFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
리턴 void

ErrorFormat() 공개 메소드

Logs an error message.
public ErrorFormat ( string format ) : void
format string Format string for the message to log
리턴 void

Fatal() 공개 메소드

Logs a fatal message.
public Fatal ( string message ) : void
message string The message to log
리턴 void

Fatal() 공개 메소드

Logs a fatal message.
public Fatal ( string message, Exception exception ) : void
message string The message to log
exception System.Exception The exception to log
리턴 void

FatalFormat() 공개 메소드

Logs a fatal message.
public FatalFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void
exception System.Exception The exception to log
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
리턴 void

FatalFormat() 공개 메소드

Logs a fatal message.
public FatalFormat ( Exception exception, string format ) : void
exception System.Exception The exception to log
format string Format string for the message to log
리턴 void

FatalFormat() 공개 메소드

Logs a fatal message.
public FatalFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
리턴 void

FatalFormat() 공개 메소드

Logs a fatal message.
public FatalFormat ( string format ) : void
format string Format string for the message to log
리턴 void

Info() 공개 메소드

Logs an info message.
public Info ( string message ) : void
message string The message to log
리턴 void

Info() 공개 메소드

Logs an info message.
public Info ( string message, Exception exception ) : void
message string The message to log
exception System.Exception The exception to log
리턴 void

InfoFormat() 공개 메소드

Logs an info message.
public InfoFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void
exception System.Exception The exception to log
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
리턴 void

InfoFormat() 공개 메소드

Logs an info message.
public InfoFormat ( Exception exception, string format ) : void
exception System.Exception The exception to log
format string Format string for the message to log
리턴 void

InfoFormat() 공개 메소드

Logs an info message.
public InfoFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
리턴 void

InfoFormat() 공개 메소드

Logs an info message.
public InfoFormat ( string format ) : void
format string Format string for the message to log
리턴 void

InitializeLifetimeService() 공개 메소드

Keep the instance alive in a remoting scenario
public InitializeLifetimeService ( ) : object
리턴 object

LevelFilteredLogger() 공개 메소드

Creates a new LevelFilteredLogger.
public LevelFilteredLogger ( ) : System
리턴 System

LevelFilteredLogger() 공개 메소드

public LevelFilteredLogger ( LoggerLevel level ) : System
level LoggerLevel
리턴 System

LevelFilteredLogger() 공개 메소드

public LevelFilteredLogger ( String name ) : System
name String
리턴 System

LevelFilteredLogger() 공개 메소드

public LevelFilteredLogger ( String name, LoggerLevel level ) : System
name String
level LoggerLevel
리턴 System

Log() 보호된 추상적인 메소드

Implementors output the log content by implementing this method only. Note that exception can be null
protected abstract Log ( LoggerLevel level, String name, String message, Exception exception ) : void
level LoggerLevel
name String
message String
exception System.Exception
리턴 void

Warn() 공개 메소드

Logs a warn message.
public Warn ( string message ) : void
message string The message to log
리턴 void

Warn() 공개 메소드

Logs a warn message.
public Warn ( string message, Exception exception ) : void
message string The message to log
exception System.Exception The exception to log
리턴 void

WarnFormat() 공개 메소드

Logs a warn message.
public WarnFormat ( Exception exception, IFormatProvider formatProvider, string format ) : void
exception System.Exception The exception to log
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
리턴 void

WarnFormat() 공개 메소드

Logs a warn message.
public WarnFormat ( Exception exception, string format ) : void
exception System.Exception The exception to log
format string Format string for the message to log
리턴 void

WarnFormat() 공개 메소드

Logs a warn message.
public WarnFormat ( IFormatProvider formatProvider, string format ) : void
formatProvider IFormatProvider The format provider to use
format string Format string for the message to log
리턴 void

WarnFormat() 공개 메소드

Logs a warn message.
public WarnFormat ( string format ) : void
format string Format string for the message to log
리턴 void