Home
last modified time | relevance | path

Searched refs:logger (Results 1 – 25 of 95) sorted by relevance

1234

/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/
H A DRegistry.php58 $name = $name ?: $logger->getName();
64 self::$loggers[$name] = $logger;
70 * @param string|Logger $logger Name or logger instance
72 public static function hasLogger($logger): bool argument
74 if ($logger instanceof Logger) {
75 $index = array_search($logger, self::$loggers, true);
80 return isset(self::$loggers[$logger]);
86 * @param string|Logger $logger Name or logger instance
88 public static function removeLogger($logger): void argument
90 if ($logger instanceof Logger) {
[all …]
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Cache/
H A DAbstractCache.php21 private $logger = null; variable in Mustache_Cache_AbstractCache
30 return $this->logger;
38 public function setLogger($logger = null) argument
40 …if ($logger !== null && !($logger instanceof Mustache_Logger || is_a($logger, 'Psr\\Log\\LoggerInt…
44 $this->logger = $logger;
56 if (isset($this->logger)) {
57 $this->logger->log($level, $message, $context);
/plugin/backup/
H A Dadmin.php331 if ($logger !== null) {
332 $logger($file);
388 * @param Callable $logger
407 * @param Callable $logger
421 * @param Callable $logger
435 * @param Callable $logger
449 * @param Callable $logger
472 * @param Callable $logger
495 * @param Callable $logger
518 * @param Callable $logger
[all …]
/plugin/stopforumspam/_test/
H A DLoggerTest.php17 $logger = new SpamLogger("/tmp");
21 $this->assertEquals($expected, $logger->logfile);
26 $logger = new SpamLogger("/tmp");
28 $logfile = $logger->logdir . "/" . $logger->logfile;
29 $logger->LogAttempt("bogus", "bogus@fake.org", "192.168.1.1", "test", 11.0, false);
37 $logger = new SpamLogger("/tmp");
38 $logfile = $logger->logdir . "/" . $logger->logfile;
42 $logger->LogAttempt("bogus", "bogus@fake.org", "192.168.1.1", "test", 11.0, false);
/plugin/webdav/vendor/psr/log/
H A DREADME.md5 [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).
7 Note that this is not a logger of its own. It is merely an interface that
8 describes a logger. See the specification for more details.
20 If you need a logger, you can use the interface like this:
29 private $logger;
31 public function __construct(LoggerInterface $logger = null)
33 $this->logger = $logger;
38 if ($this->logger) {
39 $this->logger->info('Doing work');
45 $this->logger->error('Oh no!', array('exception' => $exception));
[all …]
/plugin/authgooglesheets/vendor/psr/log/
H A DREADME.md5 [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).
7 Note that this is not a logger of its own. It is merely an interface that
8 describes a logger. See the specification for more details.
20 If you need a logger, you can use the interface like this:
29 private $logger;
31 public function __construct(LoggerInterface $logger = null)
33 $this->logger = $logger;
38 if ($this->logger) {
39 $this->logger->info('Doing work');
45 $this->logger->error('Oh no!', array('exception' => $exception));
[all …]
/plugin/elasticsearch/vendor/psr/log/
H A DREADME.md5 [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).
7 Note that this is not a logger of its own. It is merely an interface that
8 describes a logger. See the specification for more details.
20 If you need a logger, you can use the interface like this:
29 private $logger;
31 public function __construct(LoggerInterface $logger = null)
33 $this->logger = $logger;
38 if ($this->logger) {
39 $this->logger
[all...]
/plugin/dw2pdf/vendor/psr/log/
H A DREADME.md5 [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).
7 Note that this is not a logger of its own. It is merely an interface that
8 describes a logger. See the specification for more details.
20 If you need a logger, you can use the interface like this:
29 private $logger;
31 public function __construct(LoggerInterface $logger = null)
33 $this->logger = $logger;
38 if ($this->logger) {
39 $this->logger
[all...]
/plugin/smtp/subtree/php-fig/log/
H A DREADME.md5 [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).
7 Note that this is not a logger of its own. It is merely an interface that
8 describes a logger. See the specification for more details.
13 If you need a logger, you can use the interface like this:
22 private $logger;
24 public function __construct(LoggerInterface $logger = null)
26 $this->logger = $logger;
31 if ($this->logger) {
32 $this->logger->info('Doing work');
40 You can then pick one of the implementations of the interface to get a logger.
[all …]
/plugin/smtp/subtree/php-fig/log/Psr/Log/Test/
H A DLoggerInterfaceTest.php42 $logger = $this->getLogger();
43 $logger->{$level}($message, array('user' => 'Bob'));
44 $logger->log($level, $message, array('user' => 'Bob'));
72 $logger = $this->getLogger();
73 $logger->log('invalid level', 'Foo');
78 $logger = $this->getLogger();
79 …$logger->info('{Message {nothing} {user} {foo.bar} a}', array('user' => 'Bob', 'foo.bar' => 'Bar')…
119 $logger = $this->getLogger();
120 $logger->warning('Random message', array('exception' => 'oops'));
121 $logger->critical('Uncaught Exception!', array('exception' => new \LogicException('Fail')));
/plugin/authgooglesheets/vendor/psr/log/Psr/Log/Test/
H A DLoggerInterfaceTest.php43 $logger = $this->getLogger();
44 $logger->{$level}($message, array('user' => 'Bob'));
45 $logger->log($level, $message, array('user' => 'Bob'));
73 $logger = $this->getLogger();
74 $logger->log('invalid level', 'Foo');
79 $logger = $this->getLogger();
80 …$logger->info('{Message {nothing} {user} {foo.bar} a}', array('user' => 'Bob', 'foo.bar' => 'Bar')…
128 $logger = $this->getLogger();
129 $logger->warning('Random message', array('exception' => 'oops'));
130 $logger->critical('Uncaught Exception!', array('exception' => new \LogicException('Fail')));
/plugin/elasticsearch/vendor/psr/log/Psr/Log/Test/
H A DLoggerInterfaceTest.php43 $logger = $this->getLogger();
44 $logger->{$level}($message, array('user' => 'Bob'));
45 $logger->log($level, $message, array('user' => 'Bob'));
73 $logger = $this->getLogger();
74 $logger->log('invalid level', 'Foo');
79 $logger = $this->getLogger();
80 $logger->info('{Message {nothing} {user} {foo.bar} a}', array('user' => 'Bob', 'foo.bar' => 'Bar'));
128 $logger = $this->getLogger();
129 $logger->warning('Random message', array('exception' => 'oops'));
130 $logger
[all...]
/plugin/dw2pdf/vendor/psr/log/Psr/Log/Test/
H A DLoggerInterfaceTest.php43 $logger = $this->getLogger();
44 $logger->{$level}($message, array('user' => 'Bob'));
45 $logger->log($level, $message, array('user' => 'Bob'));
73 $logger = $this->getLogger();
74 $logger->log('invalid level', 'Foo');
79 $logger = $this->getLogger();
80 $logger->info('{Message {nothing} {user} {foo.bar} a}', array('user' => 'Bob', 'foo.bar' => 'Bar'));
128 $logger = $this->getLogger();
129 $logger->warning('Random message', array('exception' => 'oops'));
130 $logger
[all...]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DRemoteContentFetcher.php20 private $logger; variable in Mpdf\\RemoteContentFetcher
22 public function __construct(Mpdf $mpdf, LoggerInterface $logger) argument
25 $this->logger = $logger;
30 $this->logger->debug(sprintf('Fetching (cURL) content of remote URL "%s"', $url), ['context' => LogContext::REMOTE_CONTENT]);
68 $this->logger->error($message, ['context' => LogContext::REMOTE_CONTENT]);
78 $this->logger->error($message, ['context' => LogContext::REMOTE_CONTENT]);
92 $this->logger->debug(sprintf('Fetching (socket) content of remote URL "%s"', $url), ['context' => LogContext::REMOTE_CONTENT]);
114 $this->logger->error(sprintf('Socket error "%s": "%s"', $errno, $errstr), ['context' => LogContext::REMOTE_CONTENT]);
148 public function setLogger(LoggerInterface $logger)
144 setLogger(LoggerInterface $logger) global() argument
[all...]
H A DSizeConverter.php23 private $logger; variable in Mpdf\\SizeConverter
25 public function __construct($dpi, $defaultFontSize, Mpdf $mpdf, LoggerInterface $logger) argument
30 $this->logger = $logger;
33 public function setLogger(LoggerInterface $logger) argument
35 $this->logger = $logger;
56 $this->logger->warning(sprintf('Invalid size representation "%s"', $size), ['context' => LogContext::CSS_SIZE_CONVERSION]);
/plugin/smtp/subtree/txtthinking/Mailer/src/Mailer/
H A DSMTP.php78 protected $logger; variable in Tx\\Mailer\\SMTP
92 public function __construct(LoggerInterface $logger=null) argument
94 $this->logger = $logger;
110 $this->logger && $this->logger->debug("Set: the server");
123 $this->logger && $this->logger->debug("Set: the auth");
147 $this->logger && $this->logger->debug('Set: a message will be sent');
172 $this->logger && $this->logger->debug("Connecting to {$this->host} at {$this->port}");
334 $this->logger && $this->logger->debug('Sent: '. $string);
346 $this->logger && $this->logger->debug("Got: ". $str);
/plugin/aichat/
H A DEmbeddings.php33 protected $logger;
83 * Add a logger instance
87 public function setLogger(CLI $logger)
89 $this->logger = $logger;
153 if ($this->logger instanceof CLI) $this->logger->info("Reusing chunks for $page");
209 if ($this->logger instanceof CLI) {
210 $this->logger->error(
220 if ($this->logger instanceo
26 protected $logger; global() variable in dokuwiki\\plugin\\aichat\\Embeddings
61 setLogger(CLI $logger) global() argument
[all...]
/plugin/webdav/vendor/psr/log/Psr/Log/
H A DLoggerAwareTrait.php15 protected $logger; variable
20 * @param LoggerInterface $logger
22 public function setLogger(LoggerInterface $logger) argument
24 $this->logger = $logger;
/plugin/authgooglesheets/vendor/psr/log/Psr/Log/
H A DLoggerAwareTrait.php15 protected $logger; variable
20 * @param LoggerInterface $logger
22 public function setLogger(LoggerInterface $logger) argument
24 $this->logger = $logger;
/plugin/elasticsearch/vendor/psr/log/Psr/Log/
H A DLoggerAwareTrait.php11 * The logger instance.
15 protected $logger; variable
18 * Sets a logger.
20 * @param LoggerInterface $logger
22 public function setLogger(LoggerInterface $logger) argument
24 $this->logger = $logger;
/plugin/smtp/subtree/php-fig/log/Psr/Log/
H A DLoggerAwareTrait.php15 protected $logger; variable
20 * @param LoggerInterface $logger
22 public function setLogger(LoggerInterface $logger) argument
24 $this->logger = $logger;
/plugin/dw2pdf/vendor/psr/log/Psr/Log/
H A DLoggerAwareTrait.php11 * The logger instance.
15 protected $logger; variable
18 * Sets a logger.
20 * @param LoggerInterface $logger
22 public function setLogger(LoggerInterface $logger) argument
24 $this->logger = $logger;
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DPsrHandler.php34 protected $logger; variable in Monolog\\Handler\\PsrHandler
42 …* @param LoggerInterface $logger The underlying PSR-3 compliant logger to which messages will be p…
44 … public function __construct(LoggerInterface $logger, $level = Logger::DEBUG, bool $bubble = true) argument
48 $this->logger = $logger;
62 … $this->logger->log(strtolower($record['level_name']), (string) $formatted, $record['context']);
64 … $this->logger->log(strtolower($record['level_name']), $record['message'], $record['context']);
/plugin/quickstats/GEOIP/vendor/composer/ca-bundle/src/
H A DCaBundle.php61 … * @param LoggerInterface $logger optional logger for information about which CA files were loaded
64 public static function getSystemCaRootBundlePath(LoggerInterface $logger = null) argument
104 if (self::caFileUsable($caBundle, $logger)) {
149 …* @param LoggerInterface $logger optional logger for information about which CA files were loaded
153 public static function validateCaFile($filename, LoggerInterface $logger = null) argument
166 if (!$warned && $logger) {
167 $logger->warning(sprintf(
179 if ($logger) {
180 … $logger->debug('Checked CA file '.realpath($filename).': '.($isValid ? 'valid' : 'invalid'));
301 private static function caFileUsable($certFile, LoggerInterface $logger = null) argument
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dlogger.asciidoc6 implementation, install it, then enable the logger in the Client. The
7 recommended logger is https://github.com/Seldaek/monolog[Monolog], but any
8 logger that implements the `PSR/Log` interface works.
31 Once Monolog (or another logger) is installed, you need to create a log object
39 $logger = new Logger('name');
40 $logger->pushHandler(new StreamHandler('path/to/your.log', Logger::WARNING));
43 ->setLogger($logger) // Set your custom logger

1234