C# 클래스 LogentriesCore.Net.AsyncLogger

파일 보기 프로젝트 열기: palette-software/le_dotnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_Debug bool

보호된 프로퍼티들

프로퍼티 타입 설명
ASCII System.Text.ASCIIEncoding
IsRunning bool
Queue BlockingCollection
Random Random
TrimChars char[]
UTF8 UTF8Encoding
WorkerThread Thread
line_separator string
posix_newline string[]

공개 메소드들

메소드 설명
AddLine ( string line ) : void
AreAllQueuesEmpty ( System.TimeSpan waitTime ) : bool

Determines if the queue is empty after waiting the specified waitTime. Returns true or false if the underlying queues are empty.

AsyncLogger ( ) : System
IsNullOrWhiteSpace ( String value ) : bool
LoadCredentials ( ) : bool
getAccountKey ( ) : string
getDataHubAddr ( ) : String
getDataHubPort ( ) : int
getDebug ( ) : bool
getHostName ( ) : String
getImmediateFlush ( ) : bool
getIsUsingDataHab ( ) : bool
getLocation ( ) : String
getLogID ( ) : String
getToken ( ) : String
getUseHostName ( ) : bool
getUseHttpPut ( ) : bool
getUseSsl ( ) : bool
interruptWorker ( ) : void
setAccountKey ( String accountKey ) : void
setDataHubAddr ( String dataHubAddr ) : void
setDataHubPort ( int port ) : void
setDebug ( bool debug ) : void
setHostName ( String hostName ) : void
setImmediateFlush ( bool immediateFlush ) : void
setIsUsingDataHub ( bool useDataHub ) : void
setLocation ( String location ) : void
setLogID ( String logID ) : void
setToken ( String token ) : void
setUseHostName ( bool useHostName ) : void
setUseHttpPut ( bool useHttpPut ) : void
setUseSsl ( bool useSsl ) : void

보호된 메소드들

메소드 설명
CloseConnection ( ) : void
GetIsValidGuid ( string guidString ) : bool
OpenConnection ( ) : void
ReopenConnection ( ) : void
Run ( ) : void
WriteDebugMessages ( string message ) : void
WriteDebugMessages ( string message, Exception ex ) : void

비공개 메소드들

메소드 설명
CheckIfHostNameValid ( String hostName ) : bool
retrieveSetting ( String name ) : string

메소드 상세

AddLine() 공개 메소드

public AddLine ( string line ) : void
line string
리턴 void

AreAllQueuesEmpty() 공개 정적인 메소드

Determines if the queue is empty after waiting the specified waitTime. Returns true or false if the underlying queues are empty.
public static AreAllQueuesEmpty ( System.TimeSpan waitTime ) : bool
waitTime System.TimeSpan The length of time the method should block before giving up waiting for it to empty.
리턴 bool

AsyncLogger() 공개 메소드

public AsyncLogger ( ) : System
리턴 System

CloseConnection() 보호된 메소드

protected CloseConnection ( ) : void
리턴 void

GetIsValidGuid() 보호된 메소드

protected GetIsValidGuid ( string guidString ) : bool
guidString string
리턴 bool

IsNullOrWhiteSpace() 공개 정적인 메소드

public static IsNullOrWhiteSpace ( String value ) : bool
value String
리턴 bool

LoadCredentials() 공개 메소드

public LoadCredentials ( ) : bool
리턴 bool

OpenConnection() 보호된 메소드

protected OpenConnection ( ) : void
리턴 void

ReopenConnection() 보호된 메소드

protected ReopenConnection ( ) : void
리턴 void

Run() 보호된 메소드

protected Run ( ) : void
리턴 void

WriteDebugMessages() 보호된 메소드

protected WriteDebugMessages ( string message ) : void
message string
리턴 void

WriteDebugMessages() 보호된 메소드

protected WriteDebugMessages ( string message, Exception ex ) : void
message string
ex Exception
리턴 void

getAccountKey() 공개 메소드

public getAccountKey ( ) : string
리턴 string

getDataHubAddr() 공개 메소드

public getDataHubAddr ( ) : String
리턴 String

getDataHubPort() 공개 메소드

public getDataHubPort ( ) : int
리턴 int

getDebug() 공개 메소드

public getDebug ( ) : bool
리턴 bool

getHostName() 공개 메소드

public getHostName ( ) : String
리턴 String

getImmediateFlush() 공개 메소드

public getImmediateFlush ( ) : bool
리턴 bool

getIsUsingDataHab() 공개 메소드

public getIsUsingDataHab ( ) : bool
리턴 bool

getLocation() 공개 메소드

public getLocation ( ) : String
리턴 String

getLogID() 공개 메소드

public getLogID ( ) : String
리턴 String

getToken() 공개 메소드

public getToken ( ) : String
리턴 String

getUseHostName() 공개 메소드

public getUseHostName ( ) : bool
리턴 bool

getUseHttpPut() 공개 메소드

public getUseHttpPut ( ) : bool
리턴 bool

getUseSsl() 공개 메소드

public getUseSsl ( ) : bool
리턴 bool

interruptWorker() 공개 메소드

public interruptWorker ( ) : void
리턴 void

setAccountKey() 공개 메소드

public setAccountKey ( String accountKey ) : void
accountKey String
리턴 void

setDataHubAddr() 공개 메소드

public setDataHubAddr ( String dataHubAddr ) : void
dataHubAddr String
리턴 void

setDataHubPort() 공개 메소드

public setDataHubPort ( int port ) : void
port int
리턴 void

setDebug() 공개 메소드

public setDebug ( bool debug ) : void
debug bool
리턴 void

setHostName() 공개 메소드

public setHostName ( String hostName ) : void
hostName String
리턴 void

setImmediateFlush() 공개 메소드

public setImmediateFlush ( bool immediateFlush ) : void
immediateFlush bool
리턴 void

setIsUsingDataHub() 공개 메소드

public setIsUsingDataHub ( bool useDataHub ) : void
useDataHub bool
리턴 void

setLocation() 공개 메소드

public setLocation ( String location ) : void
location String
리턴 void

setLogID() 공개 메소드

public setLogID ( String logID ) : void
logID String
리턴 void

setToken() 공개 메소드

public setToken ( String token ) : void
token String
리턴 void

setUseHostName() 공개 메소드

public setUseHostName ( bool useHostName ) : void
useHostName bool
리턴 void

setUseHttpPut() 공개 메소드

public setUseHttpPut ( bool useHttpPut ) : void
useHttpPut bool
리턴 void

setUseSsl() 공개 메소드

public setUseSsl ( bool useSsl ) : void
useSsl bool
리턴 void

프로퍼티 상세

ASCII 보호되어 있는 정적으로 프로퍼티

protected static ASCIIEncoding,System.Text ASCII
리턴 System.Text.ASCIIEncoding

IsRunning 보호되어 있는 프로퍼티

protected bool IsRunning
리턴 bool

Queue 보호되어 있는 프로퍼티

protected BlockingCollection Queue
리턴 BlockingCollection

Random 보호되어 있는 프로퍼티

protected Random Random
리턴 Random

TrimChars 보호되어 있는 정적으로 프로퍼티

protected static char[] TrimChars
리턴 char[]

UTF8 보호되어 있는 정적으로 프로퍼티

protected static UTF8Encoding UTF8
리턴 UTF8Encoding

WorkerThread 보호되어 있는 프로퍼티

protected Thread WorkerThread
리턴 Thread

line_separator 보호되어 있는 정적으로 프로퍼티

protected static string line_separator
리턴 string

m_Debug 공개적으로 프로퍼티

public bool m_Debug
리턴 bool

posix_newline 보호되어 있는 정적으로 프로퍼티

protected static string[] posix_newline
리턴 string[]