summaryrefslogtreecommitdiff
path: root/vendor/psr/log/src/AbstractLogger.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/psr/log/src/AbstractLogger.php')
-rw-r--r--vendor/psr/log/src/AbstractLogger.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/psr/log/src/AbstractLogger.php b/vendor/psr/log/src/AbstractLogger.php
new file mode 100644
index 000000000..d60a091af
--- /dev/null
+++ b/vendor/psr/log/src/AbstractLogger.php
@@ -0,0 +1,15 @@
+<?php
+
+namespace Psr\Log;
+
+/**
+ * This is a simple Logger implementation that other Loggers can inherit from.
+ *
+ * It simply delegates all log-level-specific methods to the `log` method to
+ * reduce boilerplate code that a simple Logger that does the same thing with
+ * messages regardless of the error level has to implement.
+ */
+abstract class AbstractLogger implements LoggerInterface
+{
+ use LoggerTrait;
+}