Last active
August 29, 2015 14:10
-
-
Save sdt/54374fb3d5d7d60be59b to your computer and use it in GitHub Desktop.
Dancer2 issue - no logger in serializer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Dancer2; | |
any '/' => sub { | |
return { hello => 'world' }; | |
}; | |
dance; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logger: console | |
serializer: JSON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST 0:5000 # attempts to log a message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment