private SystemLogCommand( SystemLogType systemLogType, SystemLogDestination destination, string application, Exception e ) { _systemLogType = systemLogType; _destination = destination; _application = application; _source = e.Source; _message = e.Message; _details = e.StackTrace; }
private SystemLogCommand( SystemLogType systemLogType, SystemLogDestination destination, string application, string source, string message, string details ) { _systemLogType = systemLogType; _destination = destination; _application = application; _source = source; _message = message; _details = details; }
public static void Log( SystemLogType systemLogType, SystemLogDestination destination, string application, Exception e ) { SystemLogCommand command; command = DataPortal.Execute<SystemLogCommand>( new SystemLogCommand( systemLogType, destination, application, e ) ); }
public static void Log( SystemLogType systemLogType, SystemLogDestination destination, string application, string source, string message, string details ) { SystemLogCommand command; command = DataPortal.Execute<SystemLogCommand>( new SystemLogCommand( systemLogType, destination, application, source, message, details ) ); }