+
+
+
+
+ Controls the collapsed state of the Console
+
+
+
+
+
+ Default Value: false
+
+
+
+
+
+
+
+
+ Maximum number of Console entries allowed in the Console body at one
+time. This is used to keep acquired messages from exploding the
+DOM tree and impacting page performance.
+
+
+
+
+
+ Default Value: 300
+
+
+
+
+
+
+
+
+ If a category is not specified in the Y.log(..) statement, this
+category will be used. Categories "info",
+"warn", and "error" are also called log level.
+
+
+
+
+
+ Default Value: "info"
+
+
+
+
+
+
+
+
+ If a source is not specified in the Y.log(..) statement, this
+source will be used.
+
+
+
+
+
+ Default Value: "global"
+
+
+
+
+
+
+
+
+ Markup template used to create the DOM structure for Console entries.
+
+
+
+
+
+ Default Value: (see Console.ENTRY_TEMPLATE)
+
+
+
+
+
+
height
+ - {String | Number}
+
+
+
+ String with units, or number, representing the height of the Console,
+inclusive of header and footer. If a number is provided, the default
+unit, defined by Widget's DEF_UNIT, property is used.
+
+
+
+
+
+ Default Value: "300px"
+
+
+
+
+
+
+
+
+ The precise time the last entry was logged. Used to measure elapsed
+time between log messages.
+
+
+
+
+
+ Default Value: The moment the console module is used
+
+
+
+
+
+
+
+
+ Name of the custom event that will communicate log messages.
+
+
+
+
+
+ Default Value: "yui:log"
+
+
+
+
+
+
+
+
+ Minimum entry log level to render into the Console. The initial
+logLevel value for all Console instances defaults from the
+Y.config.logLevel YUI configuration, or Console.LOG_LEVEL_INFO if
+that configuration is not set.
+Possible values are "info", "warn",
+"error" (case insensitive), or their corresponding statics
+Console.LOG_LEVEL_INFO and so on.
+
+
+
+
+
+ Default Value: Y.config.logLevel or Console.LOG_LEVEL_INFO
+
+
+
+
+
+
+
+
+ Object that will emit the log events. By default the YUI instance.
+To have a single Console capture events from all YUI instances, set
+this to the Y.Global object.
+
+
+
+
+
+ Default Value: Y
+
+
+
+
+
+
+
+
+ New entries should display at the top of the Console or the bottom?
+
+
+
+
+
+ Default Value: true
+
+
+
+
+
+
paused
+ - boolean
+
+
+
+ Boolean to pause the outputting of new messages to the console.
+When paused, messages will accumulate in the buffer.
+
+
+
+
+
+ Default Value: false
+
+
+
+
+
+
+
+
+ Maximum number of entries printed in each iteration of the print
+loop. This is used to prevent excessive logging locking the page UI.
+
+
+
+
+
+ Default Value: 50
+
+
+
+
+
+
+
+
+ Millisecond timeout between iterations of the print loop, moving
+entries from the buffer to the UI.
+
+
+
+
+
+ Default Value: 100
+
+
+
+
+
+
+
+
+ When new entries are added to the Console UI, should they be
+scrolled into view?
+
+
+
+
+
+ Default Value: true
+
+
+
+
+
+
+
+
+ The baseline time for this Console instance, used to measure elapsed
+time from the moment the console module is used to the
+moment each new entry is logged (not rendered).
+This value is reset by the instance method myConsole.reset().
+
+
+
+
+
+ Default Value: The moment the console module is used
+
+
+
+
+
+
+
+
+ Collection of strings used to label elements in the Console UI.
+Default collection contains the following name:value pairs:
+
+- title : "Log Console"
+- pause : "Pause"
+- clear : "Clear"
+- collapse : "Collapse"
+- expand : "Expand"
+
+
+
+
+
+
+
+
+
+
width
+ - {String | Number}
+
+
+
+ String with units, or number, representing the width of the Console.
+If a number is provided, the default unit, defined by Widget's
+DEF_UNIT, property is used.
+
+
+
+
+
+ Default Value: "300px"
+
+
+
+
+
+