Implemented logging.
To get a Logger class just call MyLogger.getLogger(loggerName).
loggerName is supposed to be equal to current class name (e.g. MyClass.class.toString() or this.getClass().toString())