C# Class Prototype.Platform.Logging.LogManager

Afficher le fichier Open project: paralect/prototype

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public BsonToRecords ( List documents ) : List
documents List
Résultat List

GetRecordByCommandId() public méthode

Load record by command ID
public GetRecordByCommandId ( String commandId ) : LogRecord
commandId String
Résultat LogRecord

LogCommand() public méthode

Log command
public LogCommand ( ICommand command ) : void
command ICommand
Résultat void

LogCommandHandler() public méthode

public LogCommandHandler ( CommandHandlerRecord record ) : void
record CommandHandlerRecord
Résultat void

LogCommandHandler() public méthode

public LogCommandHandler ( String commandId, string handlerTypeName, Exception e = null ) : void
commandId String
handlerTypeName string
e System.Exception
Résultat void

LogEvent() public méthode

public LogEvent ( IEvent e ) : void
e IEvent
Résultat void

LogEventHandler() public méthode

public LogEventHandler ( EventHandlerRecord record ) : void
record EventHandlerRecord
Résultat void

LogEventHandler() public méthode

public LogEventHandler ( String commandId, string eventId, string handlerTypeName, Exception exception = null ) : void
commandId String
eventId string
handlerTypeName string
exception System.Exception
Résultat void