Class \Prado\Web\UI\WebControls\TJavascriptLogger
TJavascriptLogger class.
Provides logging for client-side javascript. Example: template code
<com:TJavascriptLogger />
Client-side javascript code to log info, error, warn, debug
Logger.warn('A warning');
Logger.info('something happend');
To see the logger and console, press ALT-D (or CTRL-D on OS X). More information on the logger can be found at http://web.archive.org/web/20060512041505/gleepglop.com/javascripts/logger/
Class hierarchy
- \Prado\Web\UI\WebControls\TJavascriptLogger
-
\Prado\Web\UI\WebControls\TWebControl implements IStyleable
-
\Prado\Web\UI\TControl implements IRenderable, IBindable
-
\Prado\TApplicationComponent
-
\Prado\TComponent
Since: 3.0
public
|
|
public
|
|
public
|
renderContents(THtmlWriter $writer) : mixed
Register the required javascript libraries and
display some general usage information.
|
public
|
|
protected
|