C# 클래스 NLog.Targets.MessageQueueTarget

상속: NLog.Targets.TargetWithLayout
파일 보기 프로젝트 열기: loresoft/NLog.Xml 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
MessageQueueTarget ( ) : System.ComponentModel

Initializes a new instance of the MessageQueueTarget class.

The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}

보호된 메소드들

메소드 설명
PrepareMessage ( LogEventInfo logEvent ) : System.Messaging.Message

Prepares a message to be sent to the message queue.

You may override this method in inheriting classes to provide services like encryption or message authentication.

Write ( LogEventInfo logEvent ) : void

Writes the specified logging event to a queue specified in the Queue parameter.

메소드 상세

MessageQueueTarget() 공개 메소드

Initializes a new instance of the MessageQueueTarget class.
The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
public MessageQueueTarget ( ) : System.ComponentModel
리턴 System.ComponentModel

PrepareMessage() 보호된 메소드

Prepares a message to be sent to the message queue.
You may override this method in inheriting classes to provide services like encryption or message authentication.
protected PrepareMessage ( LogEventInfo logEvent ) : System.Messaging.Message
logEvent LogEventInfo The log event to be used when calculating label and text to be written.
리턴 System.Messaging.Message

Write() 보호된 메소드

Writes the specified logging event to a queue specified in the Queue parameter.
protected Write ( LogEventInfo logEvent ) : void
logEvent LogEventInfo The logging event.
리턴 void