LogMessage constructor

Create a LogMessage with the given attributes.

 Visual Basic syntax
 C# syntax