Stay organized with collections
Save and categorize content based on your preferences.
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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["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."]]],["The `TagManager.Logger` interface is used for logging errors, warnings, info, debug, and verbose messages within Google Tag Manager. By default, only error and warning messages are logged. Users can implement their own custom logging mechanism by using the `setLogger` method. Note that this interface is deprecated and users should now use the `Logger` interface instead.\n"]]