| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?php
- namespace ThurData\Servers\KerioEmail\Core\Interfaces;
- /**
- *
- * @author Rafał Ossowski <rafal.os@thurdata.com>
- */
- interface LoggerInterface
- {
- /**
- * @param string $message
- * @param array $context
- * @return bool
- */
- public function debug($message, array $context = []);
-
- /**
- * @param string $message
- * @param array $context
- * @return bool
- */
- public function error($message, array $context = []);
-
- /**
- * @param string $message
- * @param array $context
- * @return bool
- */
- public function warning($message, array $context = []);
-
- /**
- * @param string $message
- * @param array $context
- * @return bool
- */
- public function err($message, array $context = []);
-
- /**
- * @param string $message
- * @param array $context
- * @return bool
- */
- public function warn($message, array $context = []);
-
- /**
- * @param string $message
- * @param array $context
- * @return bool
- */
- public function addDebug($message, array $context = []);
-
- /**
- * @param string $message
- * @param array $context
- * @return bool
- */
- public function addWarning($message, array $context = []);
-
- /**
- * @param string $message
- * @param array $context
- * @return bool
- */
- public function addError($message, array $context = []);
- }
|