TagManager.Logger

  • TagManager.Logger is an interface for logging various message types, including error, warning, info, debug, and verbose.

  • By default, only error and warning messages are logged by Google Tag Manager, with other levels ignored.

  • Custom loggers can be implemented by using the setLogger method.

  • The interface TagManager.Logger is deprecated, and Logger should be used instead.

public static interface TagManager.Logger

A simple interface for error/warning/info/debug/verbose logging.

By default, Google Tag Manager logs error/warning messages and ignores info/debug/verbose messages. You can install your own logger by calling setLogger(Logger).