Add the possibility keep logs locally and send them to loggentries

Add the possibility keep logs locally and send them to loggentries.

I also removed a return so now we can write the log in the console and to the logentries server.

If we want to use the gem in a specific environment, we just have to configure the gem for this environment by using the config file of this environment and do not configure it for the others environments.