elasticsearch\ElasticsearchTarget $type

$type public property Elasticsearch type name. public string $type = 'log'

elasticsearch\ElasticsearchTarget $options

$options public property URL options. public array $options = []

elasticsearch\ElasticsearchTarget $logContext

$logContext public property If true, context will be logged as a separate message after all other messages. public boolean $logContext = true

elasticsearch\ElasticsearchTarget $index

$index public property Elasticsearch index name. public string $index = 'yii'

elasticsearch\ElasticsearchTarget $includeContext

$includeContext public property If true, context will be included in every message. This is convenient if you log application errors and analyze them with tools like Kibana. public boolean $includeContext = false

elasticsearch\ElasticsearchTarget $db

$db public property The elasticsearch connection object or the application component ID of the elasticsearch connection. public yii\elasticsearch\Connection|array|string $db = 'elasticsearch'

elasticsearch\ElasticsearchTarget $cacheContext

$cacheContext public property If true, context message will cached once it's been created. Makes sense to use with $includeContext. public boolean $cacheContext = false

elasticsearch\DebugPanel save()

save() public method Saves data to be later used in debugger detail view. This method is called on every page where debugger is enabled. public mixed save ( )return mixed Data to be saved

elasticsearch\DebugPanel init()

init() public method public void init ( )

elasticsearch\DebugPanel getSummary()

getSummary() public method public string getSummary ( )return string Content that is displayed at debug toolbar