Example #1
0
 public MessagePacket(string message, LogType logType, Dictionary <string, string> tags, System.Diagnostics.StackTrace stackTrace) : base(message, tags)
 {
     this.m_level = ToLogLevelFromLogType(logType);
     if (stackTrace != null)
     {
         m_stacktrace = new RavenStackTrace(stackTrace);
     }
 }
Example #2
0
#pragma warning restore 0414

        public MessagePacket(string message, LogType logType, Dictionary <string, string> tags, string stackTrace) : base(message, tags)
        {
            m_level = ToLogLevelFromLogType(logType);
            if (!string.IsNullOrEmpty(stackTrace))
            {
                m_stacktrace = new RavenStackTrace(stackTrace);
            }
        }
Example #3
0
 public RavenException(string message, string stackTrace)
 {
     m_stacktrace = new RavenStackTrace(stackTrace);
     m_value      = message;
     m_type       = message;
 }
Example #4
0
 public RavenException(string message, System.Diagnostics.StackTrace stackTrace)
 {
     m_stacktrace = new RavenStackTrace(stackTrace);
     m_value      = message;
     m_type       = message;
 }
Example #5
0
#pragma warning restore 0414

        public RavenException(Exception exception)
        {
            m_stacktrace = new RavenStackTrace(exception);
            m_value      = exception.Message;
            m_type       = exception.GetType().ToString();
        }