Closed robrwo closed 3 years ago
Thanks. Interestingly, the core Mojo::Log behavior now defaults to a space separator instead of newline, but this is a good compromise.
Could you also add documentation in Mojolicious::Plugin::Log::Any, since all configuration options are passed through to attach_logger.
Could you also add documentation in Mojolicious::Plugin::Log::Any, since all configuration options are passed through to attach_logger.
Done.
This adds a message_separator option to override the newlines used to separate messages. For example, a space may be more appropriate for logging to Syslog. This fixes #4.