Пример #1
0
 /// <summary>
 /// Log a message from the sandbox with specified <paramref name="message" />, <paramref name="eventId" />, <paramref name="severity" />
 /// and <paramref name="category" />.
 /// </summary>
 /// <param name="message">The message to write into the log.</param>
 /// <param name="eventId">The eventId that corresponds to the event. This value, coupled with the EventSource is often used by
 /// administrators and IT PRo's to monitor the EventLog of a system.</param>
 /// <param name="severity">How serious the event is.</param>
 /// <param name="category">The category of the log message.</param>
 public void LogToOperations(string message, int eventId, Common.Logging.SandboxEventSeverity severity, string category)
 {
     m_logger.LogToOperations(message, eventId, severity, category);
 }
Пример #2
0
 /// <summary>
 /// Writes an error message into the log from the sandbox.
 /// </summary>
 /// <param name="message">The message to write</param>
 /// <param name="severity">How serious the event is.</param>
 public void LogToOperations(string message, Common.Logging.SandboxEventSeverity severity)
 {
     m_logger.LogToOperations(message, severity);
 }
Пример #3
0
 /// <summary>
 /// Writes information about an exception into the log to be read by operations from the sandbox.
 /// </summary>
 /// <param name="exception">The exception to write into the log.</param>
 /// <param name="eventId">The eventId that corresponds to the event. This value, coupled with the EventSource is often used by
 /// administrators and IT PRo's to monitor the EventLog of a system.</param>
 /// <param name="severity">The severity of the exception.</param>
 /// <param name="category">The category to write the message to.</param>
 public void LogToOperations(Exception exception, int eventId, Common.Logging.SandboxEventSeverity severity, string category)
 {
     m_logger.LogToOperations(exception, eventId, severity, category);
 }