AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.0.0 version of this document. Switch to the 8.3.0 version to see the up to date information.

namespace anychart.graphics.debug Improve this Doc

A namespace of all functions, objects, and classes for debugging and testing AnyChart Data Visualization Toolkit.

Functions Overview

getLogger()Returns a logger object for a given name.

Functions Description

getLogger

Returns a logger object for a given name. If a logger object for the given name is already created, it will be found. Otherwise a new logger object will be created. All created loggers are registered in the LogManager global namespace; the logging level and event listener configuration are also copied from the LogManager {@see goog.debug.LogManager}.

Params:

Name Type Description
name string A name for the logger. It should be based on the package name or the full class name and should be divided by dots. For example, “anychart.graphics”.

Returns:

goog.log.Logger - The logger object.