write
Writes the log message. If isLoggable
returned false, this method should ideally never be called, but if it is, it should no-op.
Parameters
level
The level of the log message.
domain
A string identifying the domain (usually a class or component name).
message
The actual log message.