/// <summary> /// Writes a diagnostic message into the trace log, with specified <see cref="T:CAS.SharePoint.Common.Logging.SandboxTraceSeverity" />. /// </summary> /// <param name="message">The message to write into the log.</param> /// <param name="eventId">The eventId that corresponds to the event.</param> /// <param name="severity">The severity of the trace.</param> /// <param name="category">The category to write the message to.</param> public void TraceToDeveloper(string message, int eventId, Common.Logging.SandboxTraceSeverity severity, string category) { m_logger.TraceToDeveloper(message, eventId, severity, category); }
/// <summary> /// Write a diagnostic message into the log for the default category with default severity /// from the sandbox, works from sandbox. /// </summary> /// <param name="message">The message.</param> /// <param name="severity">The severity.</param> public void TraceToDeveloper(string message, Common.Logging.SandboxTraceSeverity severity) { m_logger.TraceToDeveloper(message, severity); }
/// <summary> /// Writes information about an exception into the log from the sandbox. This will work /// from outside the sandbox as well. /// </summary> /// <param name="exception">The exception to write into the log.</param> /// <param name="eventId">The eventId that corresponds to the event.</param> /// <param name="severity">The severity of the exception.</param> /// <param name="category">The category to write the message to.</param> public void TraceToDeveloper(Exception exception, int eventId, Common.Logging.SandboxTraceSeverity severity, string category) { m_logger.TraceToDeveloper(exception, eventId, severity, category); }