internal MsgEntry(MsgEntry rhs) { /* simple copy of all members */ _code = rhs._code; _origin = rhs._origin; _stackTrace = rhs._stackTrace; _hierarchy = rhs._hierarchy; _timestamp = rhs._timestamp; _shortMessage = rhs._shortMessage; _longMessage = rhs._longMessage; _logMessage = rhs._logMessage; }
public static ErrorCode Log(ErrorCode code, string origin, int hierarchy, string stacktrace) { LowLevel.MsgEntry _me = new LowLevel.MsgEntry(code, origin, stacktrace, hierarchy); if (_me.NotWorthLogging()) { } else { _me.LogToDs(); } return(ErrorCode.OK); }