export logger service to globals.
code style.