_body
- protected Node
Reference to the Node instance that will house the console messages.
Default Value: null
_head
- protected Node
Reference to the Node instance containing the head contents.
Default Value: null
_timeout
- protected Object
Object API returned from
Y.later
. Holds the timer id
returned by setTimout
for scheduling of buffered messages.
Default Value: null
Console.ATTRS
- static Object
Static property used to define the default attribute configuration of
the Widget.
Console.BODY_TEMPLATE
- static String
Markup template used to generate the DOM structure for the Console body
(where the messages are inserted) when it is rendered. The template
includes only the {placeholder} "console_bd_class", which is
constributed by Console.CHROME_CLASSES.
Console.CHROME_CLASSES
- static Object
Map (object) of classNames used to populate the placeholders in the
Console.HEADER_TEMPLATE, Console.BODY_TEMPLATE, and
Console.FOOTER_TEMPLATE markup when rendering the Console UI.
By default, the keys contained in the object are:
- console_hd_class
- console_bd_class
- console_ft_class
- console_controls_class
- console_checkbox_class
- console_pause_class
- console_pause_label_class
- console_button_class
- console_clear_class
- console_title_class
Console.ENTRY_CLASSES
- static Object
Map (object) of classNames used to populate the placeholders in the
Console.ENTRY_TEMPLATE markup when rendering a new Console entry.
By default, the keys contained in the object are:
- entry_class
- entry_meta_class
- entry_cat_class
- entry_src_class
- entry_time_class
- entry_content_class
Console.ENTRY_TEMPLATE
- static String
Default markup template used to create the DOM structure for Console
entries. The markup contains {placeholder}s for content and classes
that are replaced via Y.substitute. The default template contains
the {placeholder}s identified in Console.ENTRY_CLASSES as well as the
following placeholders that will be populated by the log entry data:
- cat_class
- src_class
- label
- totalTime
- elapsedTime
- localTime
- sourceAndDetail
- message
Console.HEADER_TEMPLATE
- static String
Markup template used to generate the DOM structure for the header
section of the Console when it is rendered. The template includes
these {placeholder}s:
- console_hd_class - contributed by Console.CHROME_CLASSES
- console_title_class - contributed by Console.CHROME_CLASSES
- str_title - pulled from attribute strings.title
Console.LOG_LEVEL_ERROR
- static Number
Static identifier for logLevel configuration setting to allow only
incoming messages of logLevel "error" to generate
Console entries.
Console.LOG_LEVEL_INFO
- static Number
Static identifier for logLevel configuration setting to allow all
incoming messages to generate Console entries.
Console.LOG_LEVEL_WARN
- static Number
Static identifier for logLevel configuration setting to allow only
incoming messages of logLevel "warn" or "error"
to generate Console entries.