Writes a message to the log.
The log to write to.
The message level.
The log message.
The log message details.
sink is null (Nothing in Visual Basic).