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); } }
#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); } }
public RavenException(string message, string stackTrace) { m_stacktrace = new RavenStackTrace(stackTrace); m_value = message; m_type = message; }
public RavenException(string message, System.Diagnostics.StackTrace stackTrace) { m_stacktrace = new RavenStackTrace(stackTrace); m_value = message; m_type = message; }
#pragma warning restore 0414 public RavenException(Exception exception) { m_stacktrace = new RavenStackTrace(exception); m_value = exception.Message; m_type = exception.GetType().ToString(); }