Logs the specified message using the specified template properties.
The message to log.
The message containing template values.
message is null (Nothing in Visual Basic).