diff options
author | Max Kostikov <max@kostikov.co> | 2019-11-08 18:13:27 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-11-08 18:13:27 +0100 |
commit | c6e9bca76ca6c077aedcb3bb46eef182592bfc6a (patch) | |
tree | d63be67b6c55f2f17496e8b4fc1796cb88b7960e /vendor/psr/log/README.md | |
parent | 9360148829bb32351d40b2b552ea40ea3878b3b5 (diff) | |
parent | bcd0802ea4a23971b5d53892c7de4e9e1822309f (diff) | |
download | volse-hubzilla-c6e9bca76ca6c077aedcb3bb46eef182592bfc6a.tar.gz volse-hubzilla-c6e9bca76ca6c077aedcb3bb46eef182592bfc6a.tar.bz2 volse-hubzilla-c6e9bca76ca6c077aedcb3bb46eef182592bfc6a.zip |
Merge branch 'cherry-pick-2df15f35' into 'dev'
update composer libs
See merge request hubzilla/core!1773
Diffstat (limited to 'vendor/psr/log/README.md')
-rw-r--r-- | vendor/psr/log/README.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/psr/log/README.md b/vendor/psr/log/README.md index 5571a25e8..a9f20c437 100644 --- a/vendor/psr/log/README.md +++ b/vendor/psr/log/README.md @@ -38,6 +38,12 @@ class Foo if ($this->logger) { $this->logger->info('Doing work'); } + + try { + $this->doSomethingElse(); + } catch (Exception $exception) { + $this->logger->error('Oh no!', array('exception' => $exception)); + } // do something useful } |