|
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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
Syntax 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