debug.LogManager

Classes


Public Protected Private

Global Functions

goog.debug.LogManager.createFunctionForCatchErrors(opt_logger) function(Object)
Creates a function that can be passed to goog.debug.catchErrors. The function will log all reported errors using the given logger.
Arguments:
opt_logger : goog.debug.Logger=
The logger to log the errors to. Defaults to the root logger.
Returns: function(Object)  The created function.
code »
goog.debug.LogManager.createLogger_(name) !goog.debug.Logger
Creates the named logger. Will also create the parents of the named logger if they don't yet exist.
Arguments:
name : string
The name of the logger.
Returns: !goog.debug.Logger  The named logger.
code »
goog.debug.LogManager.getLogger(name) !goog.debug.Logger
Finds a named logger.
Arguments:
name : string
A name for the logger. This should be a dot-separated name and should normally be based on the package name or class name of the subsystem, such as goog.net.BrowserChannel.
Returns: !goog.debug.Logger  The named logger.
code »
goog.debug.LogManager.getLoggers() !Object.<string, !goog.debug.Logger>
Returns all the loggers.
Returns: !Object.<string, !goog.debug.Logger>  Map of logger names to logger objects.
code »
goog.debug.LogManager.getRoot() !goog.debug.Logger
Returns the root of the logger tree namespace, the logger with the empty string as its name.
Returns: !goog.debug.Logger  The root logger.
code »
goog.debug.LogManager.initialize()
Initializes the LogManager if not already initialized.
code »

Package debug

Package Reference