C# 클래스 Acropolis.Foundation.EventSourcing.Logging.LogManager

파일 보기 프로젝트 열기: paralect/Paralect.Domain

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
BsonToRecords ( List documents ) : List
GetRecordByCommandId ( String commandId ) : LogRecord

Load record by command ID

LogCommand ( Command command ) : void

Log command

LogCommandHandler ( CommandHandlerRecord record ) : void
LogCommandHandler ( String commandId, String handlerTypeName, Exception e = null ) : void
LogEvent ( Event e ) : void
LogEventHandler ( EventHandlerRecord record ) : void
LogEventHandler ( String commandId, String eventId, String handlerTypeName, Exception exception = null ) : void

메소드 상세

BsonToRecords() 공개 메소드

public BsonToRecords ( List documents ) : List
documents List
리턴 List

GetRecordByCommandId() 공개 메소드

Load record by command ID
public GetRecordByCommandId ( String commandId ) : LogRecord
commandId String
리턴 LogRecord

LogCommand() 공개 메소드

Log command
public LogCommand ( Command command ) : void
command Command
리턴 void

LogCommandHandler() 공개 메소드

public LogCommandHandler ( CommandHandlerRecord record ) : void
record CommandHandlerRecord
리턴 void

LogCommandHandler() 공개 메소드

public LogCommandHandler ( String commandId, String handlerTypeName, Exception e = null ) : void
commandId String
handlerTypeName String
e System.Exception
리턴 void

LogEvent() 공개 메소드

public LogEvent ( Event e ) : void
e Event
리턴 void

LogEventHandler() 공개 메소드

public LogEventHandler ( EventHandlerRecord record ) : void
record EventHandlerRecord
리턴 void

LogEventHandler() 공개 메소드

public LogEventHandler ( String commandId, String eventId, String handlerTypeName, Exception exception = null ) : void
commandId String
eventId String
handlerTypeName String
exception System.Exception
리턴 void