How to write a message to a log file?

See also:

See also: