Publish() public method

Raises a log message with the provided data.
public Publish ( LogMessageAttributes overriddenAttributes, string message, string details, Exception exception, LogStackMessages initialStackMessage, LogStackTrace initialStackTrace ) : void
overriddenAttributes LogMessageAttributes attributes to use with this message
message string
details string A long text field with the details of the message.
exception System.Exception An exception object if one is provided.
initialStackMessage LogStackMessages
initialStackTrace LogStackTrace
return void
Exemplo n.º 1
0
 /// <summary>
 /// Raises a log message with the provided data.
 /// </summary>
 /// <param name="message"></param>
 /// <param name="details">A long text field with the details of the message.</param>
 /// <param name="exception">An exception object if one is provided.</param>
 public void Publish(string message = null, string details = null, Exception exception = null)
 {
     m_internalPublisher.Publish(null, message, details, exception, m_publisher.InitialStackMessages, m_publisher.InitialStackTrace);
 }