Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Radovan Kepák committed May 27, 2021
1 parent 69f9a44 commit 2737f69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
"dev-master": "2.2-dev"
}
},
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ Fallback handler
This is the default handler that simulates the default Tracy behaviour and is registered only when no other handler is registered.
When you start registering custom handlers, it automatically disables itself (to be exact, the extension does that) because it expects you know what you're doing :)

When you wanna for example have syslog on production and still have messages written to disk on localhost, you can easily configure that
When you wanna for example have syslog on production and still have messages written to disk on localhost, you can easily configure that, even change format of logs (default and priority)

```yml
monolog:
registerFallback: %debugMode%
fallback:
register: %debugMode%
defaultFormat: '[%datetime%]: %message% - %context% | %extra%'
```

The adapter even helps handle messages with non-standard level name (standard are: info, warning, error...).
Expand Down

0 comments on commit 2737f69

Please sign in to comment.