C# Class Acropolis.Foundation.EventSourcing.Logging.LogManager

Mostrar archivo Open project: paralect/Paralect.Domain

Private Properties

Property Type Description

Public Methods

Method Description
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

Method Details

BsonToRecords() public method

public BsonToRecords ( List documents ) : List
documents List
return List

GetRecordByCommandId() public method

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

LogCommand() public method

Log command
public LogCommand ( Command command ) : void
command Command
return void

LogCommandHandler() public method

public LogCommandHandler ( CommandHandlerRecord record ) : void
record CommandHandlerRecord
return void

LogCommandHandler() public method

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

LogEvent() public method

public LogEvent ( Event e ) : void
e Event
return void

LogEventHandler() public method

public LogEventHandler ( EventHandlerRecord record ) : void
record EventHandlerRecord
return void

LogEventHandler() public method

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