Skip to content

Commit

Permalink
tracy: removed info about FireLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Apr 9, 2023
1 parent 3522830 commit c2b8c09
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 58 deletions.
1 change: 0 additions & 1 deletion tracy/cs/@left-menu.texy
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- [Začínáme s Tracy |guide]
- [Dumpování |dumper]
- [Měření času |stopwatch]
- [FireLogger]
- [Konfigurace |configuring]
- [Návody |recipes]
- [Integrace s IDE |open-files-in-ide]
Expand Down
27 changes: 0 additions & 27 deletions tracy/cs/firelogger.texy

This file was deleted.

2 changes: 1 addition & 1 deletion tracy/cs/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Jak vidíte, Laděnka je poměrně výřečná, což lze ocenit ve vývojovém p

[* tracy-error2.webp .{url:-} *]

Produkční režim potlačí zobrazování všech ladících informacích, které posíláme ven pomocí [dump() |dumper] nebo [Debugger::fireLog() |FireLogger], a samozřejmě také všech chybových zpráv, které generuje PHP. Pokud jste tedy v kódu zapomněli nějaké `dump($obj)`, nemusíte se obávat, na produkčním serveru se nic nevypíše.
Produkční režim potlačí zobrazování všech ladících informacích, které posíláme ven pomocí [dump() |dumper], a samozřejmě také všech chybových zpráv, které generuje PHP. Pokud jste tedy v kódu zapomněli nějaké `dump($obj)`, nemusíte se obávat, na produkčním serveru se nic nevypíše.

K nastavování režimu se používá první parametr metody `Debugger::enable()`. Režim lze napevno nastavit konstantou `Debugger::PRODUCTION` nebo `Debugger::DEVELOPMENT`. Další možnost je, že bude vývojový režim zapnutý při přístupu z dané IP adresy s danou hodnotou `tracy-debug` cookie. Používá se syntaxe `hodnota-cookie@ip-adresa`.

Expand Down
1 change: 0 additions & 1 deletion tracy/en/@left-menu.texy
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- [Getting Started |Guide]
- [Dumper]
- [Stopwatch]
- [FireLogger]
- [Configuring]
- [Recipes]
- [IDE Integration |open-files-in-ide]
Expand Down
27 changes: 0 additions & 27 deletions tracy/en/firelogger.texy

This file was deleted.

2 changes: 1 addition & 1 deletion tracy/en/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ As you can see, Tracy is quite eloquent. It is appreciated in a development envi

[* tracy-error2.webp .{url:-} *]

Production output mode suppresses all debugging information which is sent out via [dump() |dumper] or [Debugger::fireLog() |FireLogger], and of course all error messages generated by PHP. So, even if you forget `dump($obj)` in the source code, you do not have to worry about it on your production server. Nothing will be seen.
Production output mode suppresses all debugging information which is sent out via [dump() |dumper], and of course all error messages generated by PHP. So, even if you forget `dump($obj)` in the source code, you do not have to worry about it on your production server. Nothing will be seen.

The output mode is set by the first parameter of `Debugger::enable()`. You can specify either a constant `Debugger::PRODUCTION` or `Debugger::DEVELOPMENT`. Other option is to set it up in a way, that development mode will be on when the application is accessed from a defined IP address with a defined value of `tracy-debug` cookie. The syntax used to achieve this is `cookie-value@ip-address`.

Expand Down
Binary file removed tracy/files/tracy-firelogger.webp
Binary file not shown.

0 comments on commit c2b8c09

Please sign in to comment.