Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • Net
  • None
  • PHP
  • system
    • base
    • caching
      • dependencies
    • collections
    • console
    • db
      • ar
      • schema
        • cubrid
        • mssql
        • mysql
        • oci
        • pgsql
        • sqlite
    • i18n
      • gettext
    • logging
    • test
    • utils
    • validators
    • web
      • actions
      • auth
      • filters
      • form
      • helpers
      • renderers
      • services
      • widgets
        • captcha
        • pagers
  • Text
    • Highlighter
  • zii
    • behaviors
    • widgets
      • grid
      • jui

Classes

  • CChainedLogFilter
  • CDbLogRoute
  • CEmailLogRoute
  • CFileLogRoute
  • CLogFilter
  • CLogger
  • CLogRoute
  • CLogRouter
  • CProfileLogRoute
  • CSysLogRoute
  • CWebLogRoute

Interfaces

  • ILogFilter
  • Overview
  • Package
  • Class
  • Tree

Class CWebLogRoute

CWebLogRoute shows the log content in Web page.

The log content can appear either at the end of the current Web page or in FireBug console window (if CWebLogRoute::$showInFireBug is set true).

CComponent
Extended by CLogRoute
Extended by CWebLogRoute

Direct known subclasses

CProfileLogRoute
Package: system\logging
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/logging/CWebLogRoute.php
Methods summary
public
# processLogs( array $logs )

Displays the log messages.

Displays the log messages.

Parameters

$logs
array
$logs list of log messages
protected
# render( string $view, array $data )

Renders the view.

Renders the view.

Parameters

$view
string
$view the view name (file name without extension). The file is assumed to be located under framework/data/views.
$data
array
$data data to be passed to the view
Methods inherited from CLogRoute
collectLogs(), formatLogMessage(), init()
Methods inherited from CComponent
__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()
Properties summary
public boolean $showInFireBug false
#

whether the log should be displayed in FireBug instead of browser window. Defaults to false.

whether the log should be displayed in FireBug instead of browser window. Defaults to false.

public boolean $ignoreAjaxInFireBug true
#

whether the log should be ignored in FireBug for ajax calls. Defaults to true. This option should be used carefully, because an ajax call returns all output as a result data. For example if the ajax call expects a json type result any output from the logger will cause ajax call to fail.

whether the log should be ignored in FireBug for ajax calls. Defaults to true. This option should be used carefully, because an ajax call returns all output as a result data. For example if the ajax call expects a json type result any output from the logger will cause ajax call to fail.

public boolean $ignoreFlashInFireBug true
#

whether the log should be ignored in FireBug for Flash/Flex calls. Defaults to true. This option should be used carefully, because an Flash/Flex call returns all output as a result data. For example if the Flash/Flex call expects an XML type result any output from the logger will cause Flash/Flex call to fail.

whether the log should be ignored in FireBug for Flash/Flex calls. Defaults to true. This option should be used carefully, because an Flash/Flex call returns all output as a result data. For example if the Flash/Flex call expects an XML type result any output from the logger will cause Flash/Flex call to fail.

Since

1.1.11
public boolean $collapsedInFireBug false
#

whether the log should be collapsed by default in Firebug. Defaults to false.

whether the log should be collapsed by default in Firebug. Defaults to false.

Since

1.1.13.
Properties inherited from CLogRoute
$categories, $enabled, $except, $filter, $levels, $logs
API documentation generated by ApiGen 2.8.0