A logger factory used to log a javascript application into the console