Fix text issues
Add support for customizing log output and formats