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