| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?php
- namespace ModulesGarden\ProxmoxAddon\Core\Interfaces;
- /**
- *
- * @author Rafał Ossowski <rafal.os@modulesgarden.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 = []);
- }
|