goog.debug.LogManager
Namespacegoog.debug.LogManager
There is a single global LogManager object that is used to maintain a set of shared state about Loggers and log services. This is loosely based on the java class java.util.logging.LogManager.
.createFunctionForCatchErrors(opt_logger)
Creates a function that can be passed to goog.debug.catchErrors. The function will log all reported errors using the given logger.
opt_logger
{goog.debug.Logger
=}
function
(Object
)}
.getLogger(name)
Method to find a named logger.
name
{string
}
goog.debug.Logger
}
.getLoggers()
Returns all the loggers
Object
}
.getRoot()
Returns the root of the logger tree namespace, the logger with the empty string as its name
goog.debug.Logger
}
.initialize()
Initialize the LogManager if not already initialized