Approach 1: Static methods

  • The logger has a static method
  • Classes that use the logger call the static method

22 / 27