logger : adding log to global logger