Documentation to SQL Status Query Monitor

This commit is contained in:
Tobias Matthaiou 2019-11-06 14:56:39 +01:00
bovenliggende 7e6687132c
commit e0bd400107
3 gewijzigde bestanden met toevoegingen van 21 en 0 verwijderingen

Bestand weergeven

@ -32,3 +32,24 @@ CLI:
![Example CLI](https://raw.githubusercontent.com/TumTum/oxid-sql-logger/master/img/screenshot-cli.png)
## SQL Query Status Monitor
![Example CLI](https://raw.githubusercontent.com/TumTum/oxid-sql-logger/master/img/sql-query-status-monitor.jpg)
See how many queries and which types of queries have been added to the database.
To determine the amount.
#### Switch on
For this purpose, the parameter `$this->blSQLStatusBox = true;` must be stored in the file `config.ing.php`.
So you can turn it on and off temporarily.
Unique: Insert, at the end, the Smarty tag: `[{tm_sql_status}]` in the `base.tpl` file.
####### source/Application/views/flow/tpl/layout/base.tpl
```html
[{tm_sql_status}]
</body>
</html>
```

Binair bestand niet weergegeven.

Voor

Breedte:  |  Hoogte:  |  Grootte: 824 KiB

Na

Breedte:  |  Hoogte:  |  Grootte: 827 KiB

Binair bestand niet weergegeven.

Na

Breedte:  |  Hoogte:  |  Grootte: 9.9 KiB