Fixed creating logger instance without new