재 업데이트

This commit is contained in:
Hide_D committed 2020-01-28 01:17:00 +09:00
1 parent a8b3befca9
commit ddb971e41e
413 files changed
+13446 -16025

No files matched your search

+13
View File
@@ -7,6 +7,13 @@ This repository holds all interfaces/classes/traits related to
Note that this is not a logger of its own. It is merely an interface that
describes a logger. See the specification for more details.
Installation
------------
```bash
composer require psr/log
```
Usage
-----
@@ -31,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
}