| 
            
              LogPublisherPublish(MessageLevel, String, String, String, Exception) Method
             | 
          
        
        
            Raises a log message with the provided data.
            
        
        Namespace: GSF.DiagnosticsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
Syntaxpublic void Publish(
	MessageLevel level,
	string eventName,
	string message = null,
	string details = null,
	Exception exception = null
)
Public Sub Publish ( 
	level As MessageLevel,
	eventName As String,
	Optional message As String = Nothing,
	Optional details As String = Nothing,
	Optional exception As Exception = Nothing
)
public:
void Publish(
	MessageLevel level, 
	String^ eventName, 
	String^ message = nullptr, 
	String^ details = nullptr, 
	Exception^ exception = nullptr
)
member Publish : 
        level : MessageLevel * 
        eventName : string * 
        ?message : string * 
        ?details : string * 
        ?exception : Exception 
(* Defaults:
        let _message = defaultArg message null
        let _details = defaultArg details null
        let _exception = defaultArg exception null
*)
-> unit function Publish(level, eventName, message, details, exception);
 View SourceParameters
- level  MessageLevel
 - the level of the message
 - eventName  String
 - A short name about what this message is detailing. Typically this will be a few words.
 - message  String  (Optional)
 -  A longer message than  giving more specifics about the actual message. 
            Typically, this will be up to 1 line of text.
 - details  String  (Optional)
 - A long text field with the details of the message.
 - exception  Exception  (Optional)
 - An exception object if one is provided.
 
See Also