From 2aaefbfa54447c37a74aaf126f864fac629e9bd5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 20 Jun 2018 14:58:09 +0300 Subject: update autoloader to consider namespaces for third party libraries: placed and loaded from vendor/namespace/classpath.php update readability to a newer implementation based on Readability.js (https://github.com/andreskrey/readability.php) add vendor/Psr/Log interface required for the above --- vendor/Psr/Log/NullLogger.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 vendor/Psr/Log/NullLogger.php (limited to 'vendor/Psr/Log/NullLogger.php') diff --git a/vendor/Psr/Log/NullLogger.php b/vendor/Psr/Log/NullLogger.php new file mode 100644 index 000000000..d8cd682c8 --- /dev/null +++ b/vendor/Psr/Log/NullLogger.php @@ -0,0 +1,28 @@ +logger) { }` + * blocks. + */ +class NullLogger extends AbstractLogger +{ + /** + * Logs with an arbitrary level. + * + * @param mixed $level + * @param string $message + * @param array $context + * + * @return void + */ + public function log($level, $message, array $context = array()) + { + // noop + } +} -- cgit v1.2.3-54-g00ecf