Logger: allow to override log method
Logger: extracted method sendEmail() from log()
Logger: sendEmail returns true, if message was accepted for delivery