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

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

공개 메소드들

메소드 설명
Close ( ) : void
CreateChildLogger ( string name ) : ILogger
Dispose ( ) : void
StreamLogger ( String name, Stream stream ) : System

Creates a new StreamLogger with default encoding and buffer size. Initial Level is set to Debug.

StreamLogger ( String name, Stream stream, Encoding encoding ) : System

Creates a new StreamLogger with default buffer size. Initial Level is set to Debug.

StreamLogger ( String name, Stream stream, Encoding encoding, int bufferSize ) : System

Creates a new StreamLogger. Initial Level is set to Debug.

보호된 메소드들

메소드 설명
Close ( bool supressFinalize ) : void
Log ( LoggerLevel level, String name, String message, Exception exception ) : void
StreamLogger ( String name, StreamWriter writer ) : System

Creates a new StreamLogger with Debug as default Level.

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Close() 보호된 메소드

protected Close ( bool supressFinalize ) : void
supressFinalize bool
리턴 void

CreateChildLogger() 공개 메소드

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

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Log() 보호된 메소드

protected Log ( LoggerLevel level, String name, String message, Exception exception ) : void
level LoggerLevel
name String
message String
exception System.Exception
리턴 void

StreamLogger() 공개 메소드

Creates a new StreamLogger with default encoding and buffer size. Initial Level is set to Debug.
public StreamLogger ( String name, Stream stream ) : System
name String /// The name of the log. ///
stream Stream /// The stream that will be used for logging, /// seeking while the logger is alive ///
리턴 System

StreamLogger() 공개 메소드

Creates a new StreamLogger with default buffer size. Initial Level is set to Debug.
public StreamLogger ( String name, Stream stream, Encoding encoding ) : System
name String /// The name of the log. ///
stream Stream /// The stream that will be used for logging, /// seeking while the logger is alive ///
encoding System.Text.Encoding /// The encoding that will be used for this stream. /// ///
리턴 System

StreamLogger() 공개 메소드

Creates a new StreamLogger. Initial Level is set to Debug.
public StreamLogger ( String name, Stream stream, Encoding encoding, int bufferSize ) : System
name String /// The name of the log. ///
stream Stream /// The stream that will be used for logging, /// seeking while the logger is alive ///
encoding System.Text.Encoding /// The encoding that will be used for this stream. /// ///
bufferSize int /// The buffer size that will be used for this stream. /// ///
리턴 System

StreamLogger() 보호된 메소드

Creates a new StreamLogger with Debug as default Level.
protected StreamLogger ( String name, StreamWriter writer ) : System
name String The name of the log.
writer System.IO.StreamWriter The StreamWriter the log will write to.
리턴 System