Add support for custom log formatting

This can be achieved by:
1. Subclass cpplog::LogMessage
2. Implement InitLogMessage
3. Call InitLogMessage from the constructor
4. Redefine the LOG_LEVEL macro

See examples/customlogformat.cpp