Home
last modified time | relevance | path

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

123

/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/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/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/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->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->info('Doing work');
47 You can then pick one of the implementations of the interface to get a 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/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->critical('Uncaught Exception!', array('exception' => new \LogicException('Fail')));
/plugin/elasticsearch/vendor/psr/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')…
127 $logger = $this->getLogger();
128 $logger->warning('Random message', array('exception' => 'oops'));
129 $logger->critical('Uncaught Exception!', array('exception' => new \LogicException('Fail')));
/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' => Lo…
64 $this->logger->error($message, ['context' => LogContext::REMOTE_CONTENT]);
74 $this->logger->error($message, ['context' => LogContext::REMOTE_CONTENT]);
88 …$this->logger->debug(sprintf('Fetching (socket) content of remote URL "%s"', $url), ['context' => …
110 …$this->logger->error(sprintf('Socket error "%s": "%s"', $errno, $errstr), ['context' => LogContext…
144 public function setLogger(LoggerInterface $logger) argument
146 $this->logger = $logger;
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' => LogContex…
H A DServiceFactory.php37 LoggerInterface $logger, argument
47 $sizeConverter = new SizeConverter($mpdf->dpi, $mpdf->default_font_size, $mpdf, $logger);
80 $remoteContentFetcher = new RemoteContentFetcher($mpdf, $logger);
93 $logger
110 $metadataWriter = new MetadataWriter($mpdf, $writer, $form, $protection, $logger);
131 $logger
/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/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/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/elasticsearch/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/dw2pdf/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/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/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/
H A DConnectionFactory.php34 private $logger; variable in Elasticsearch\\Connections\\ConnectionFactory
46 …ray $connectionParams, SerializerInterface $serializer, LoggerInterface $logger, LoggerInterface $… argument
50 $this->logger = $logger;
62 $this->logger,
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/
H A DTwigFormulaLoader.php26 private $logger; variable in Assetic\\Extension\\Twig\\TwigFormulaLoader
28 public function __construct(\Twig_Environment $twig, LoggerInterface $logger = null) argument
31 $this->logger = $logger;
40 if ($this->logger) {
41 …$this->logger->error(sprintf('The template "%s" contains an error: %s', $resource, $e->getMessage(…
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/Connections/
H A DConnectionTest.php15 private $logger; variable in Elasticsearch\\Tests\\Connections\\ConnectionTest
21 $this->logger = $this->createMock(LoggerInterface::class);
39 $this->logger,
59 $this->logger,
81 $this->logger,
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/
H A DEngine.php54 private $logger; variable in Mustache_Engine
453 public function setLogger($logger = null) argument
455 …if ($logger !== null && !($logger instanceof Mustache_Logger || is_a($logger, 'Psr\\Log\\LoggerInt…
460 $this->getCache()->setLogger($logger);
463 $this->logger = $logger;
473 return $this->logger;
561 if (isset($this->logger) && $cache->getLogger() === null) {
825 if (isset($this->logger)) {
826 $this->logger->log($level, $message, $context);
/plugin/letsencrypt/
H A Dhelper.php21 protected $logger; variable in helper_plugin_letsencrypt
27 $this->logger = new NullLogger();
34 $this->logger = new HTMLLogger();
42 $this->logger = new CliLogger($cli);
173 $lescript = new Lescript($this->getCertDir(), $this->getRoot(), $this->logger);
189 $lescript = new Lescript($this->getCertDir(), $this->getRoot(), $this->logger);
215 $lescript = new Lescript($this->getCertDir(), $this->getRoot(), $this->logger);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/
H A DClientBuilder.php65 private $logger; variable in Elasticsearch\\ClientBuilder
294 public function setLogger(LoggerInterface $logger): ClientBuilder argument
296 if (!$logger instanceof LoggerInterface) {
300 $this->logger = $logger;
448 …nFactory($this->handler, $this->connectionParams, $this->serializer, $this->logger, $this->tracer);
494 if (is_null($this->logger)) {
495 $this->logger = new NullLogger();
528 …$this->transport = new Transport($this->retries, $this->connectionPool, $this->logger, $this->snif…
562 $this->logger->error("Could not parse host: ".print_r($host, true));
577 … $this->logger->error("Required 'host' was not defined in extended format: ".print_r($host, true));

123