C# Class Prototype.Platform.Logging.LogManager

Datei anzeigen Open project: paralect/prototype

Private Properties

Property Type Description

Public Methods

Method Description
BsonToRecords ( List documents ) : List
GetRecordByCommandId ( String commandId ) : LogRecord

Load record by command ID

LogCommand ( ICommand command ) : void

Log command

LogCommandHandler ( CommandHandlerRecord record ) : void
LogCommandHandler ( String commandId, string handlerTypeName, Exception e = null ) : void
LogEvent ( IEvent 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 ( ICommand command ) : void
command ICommand
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 ( IEvent e ) : void
e IEvent
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