Issue #2340123 by Wim Leers: Setting cache tags can be tricky: use strings instead of nested arrays to improve DX.
Provisional code to fix #2342543
Use the Drupal::logger() helper instead of injecting the logger to walk around circular reference issues