private static void HostRequirementLogger(object sender, RequirementCaptureEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException("RequirementCaptureEventArgs");
            }
            string reqId = string.Format(MessageRuntime.ReqId, e.ProtocolName, e.RequirementId);

            RuntimeAppLog.TraceLog(
                string.Format(MessageRuntime.ReqCaptureFormat, reqId, e.RequirementDescription));
        }
        private static void HostMessageLogger(object sender, MessageLogEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException("MessageLogEventArgs");
            }
            string message = e.Parameters == null ? e.Message : string.Format(e.Message, e.Parameters);

            RuntimeAppLog.TraceLog(
                string.Format(MessageRuntime.MessageLogFormat, e.LogEntryKind, message));
        }
        private static void HostAssertChecker(object sender, MessageLogEventArgs e)
        {
            if (e == null)
            {
                throw new ArgumentNullException("e");
            }
            string message = e.Parameters == null ? e.Message : string.Format(e.Message, e.Parameters);

            if (e.Condition)
            {
                RuntimeAppLog.TraceLog(
                    string.Format(MessageRuntime.AssertCheckSucc, message));
            }
            else
            {
                RuntimeAppLog.TraceLog(
                    string.Format(MessageRuntime.AssertCheckFail, message));
            }
        }