Dancer
Dancer copied to clipboard
Enable Unicode log output to console
When logging a character such as "™" to the console, the following error is produced:
[28211] error @0.011815> [hit #1]request to GET /foo crashed: Warning caught during route execution: Wide character in print at .../perl5/lib/perl5/Dancer/Logger/Console.
pm line 9
Example:
get '/foo' => sub {
debug "testing™";
return bar;
};