Example #1
0
        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);
        }