Logging to App Engine syslog(LOG_ERR, etc

I am passing the logger into static methods of a class, so I have to get the logger into the class somehow right ? either by injection it into the call (MyClass::mymethod(logger), or declaring it global at the start of the static procedure no?, Global would obviously be cleaner but if I declare it global at the start of the static class method it doesn’t see it. Trying to see all this in terms of dependency injection in angular but brain still goes tilt on it :slight_smile: Are you saying inject it into the class constructor somehow?