From b908496d428f174802c64bac1d3f0d447e67b26f Mon Sep 17 00:00:00 2001 From: aserafin Date: Thu, 16 Apr 2015 09:21:35 +0200 Subject: [PATCH] readme formatter --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eb67bbf..2e803ed 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,9 @@ And then set logger formatter in your main api file -### Other features +## Other features -## Log Format +### Log Format With the default configuration you will get nice log message @@ -43,13 +43,13 @@ With the default configuration you will get nice log message If you prefer some other format I strongly encourage you to do pull request with new formatter class ;) -## Logging to file and STDOUT +### Logging to file and STDOUT You can to file and STDOUT at once, you just need to assign new logger logger Logger.new GrapeLogging::MultiIO.new(STDOUT, File.open('path/to/your/logfile.log'), 'a')) -## Logging exceptions +### Logging exceptions If you want to log exceptions you can do it like this