Home
last modified time | relevance | path

Searched refs:logger (Results 76 – 95 of 95) sorted by path

1234

/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/s5reloaded/ui/effects_support/
H A Dunittest.js173 this.logger = new Test.Unit.Logger(this.options.testLog);
215 this.logger.summary(this.summary());
219 this.logger.start(test.name);
223 this.logger.message("Waiting for " + test.timeToWait + "ms");
226 this.logger.finish(test.status(), test.summary());
/plugin/siteexport/inc/
H A Ddebug.php15 private $logger; variable in siteexport_debug
21 $this->logger = Logger::getInstance('siteexport');
86 case 4: $this->logger->error( $info, $var ); break;
87 case 3: $this->logger->log( $info, $var ); break;
88 case 2: $this->logger->log( $info, $var ); break;
89 case 1: $this->logger->debug( $info, $var ); break;
/plugin/smtp/
H A Daction.php53 $logger = new \splitbrain\dokuwiki\plugin\smtp\Logger();
54 $smtp = new \Tx\Mailer\SMTP($logger);
83 foreach($logger->getLog() as $line) {
/plugin/smtp/subtree/php-fig/log/Psr/Log/
H A DLoggerAwareInterface.php13 * @param LoggerInterface $logger
17 public function setLogger(LoggerInterface $logger); argument
H A DLoggerAwareTrait.php15 protected $logger; variable
20 * @param LoggerInterface $logger
22 public function setLogger(LoggerInterface $logger) argument
24 $this->logger = $logger;
/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/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/txtthinking/Mailer/
H A DREADME.md37 $smtp = new SMTP(); // new SMTP(new Logger('Mailer')); # set logger to receive debug log
/plugin/smtp/subtree/txtthinking/Mailer/src/
H A DMailer.php48 public function __construct(LoggerInterface $logger=null){ argument
49 $this->smtp = new SMTP($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/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/stopforumspam/
H A Daction.php19 protected $logger; variable in action_plugin_stopforumspam
29 $this->logger = new SpamLogger($logpath);
62 $this->logger->LogAttempt($username, $email, $ip, $this->checker->trigger,
/plugin/upgrade/
H A Dcomposer.lock90 "psr/log": "Allows you to make the CLI available as PSR-3 logger"
H A Dhelper.php30 protected $logger;
47 * @param admin_plugin_upgrade|cli_plugin_upgrade $logger Logger object
50 public function setLogger($logger)
52 $this->logger = $logger;
420 if ($this->logger) $this->logger->log($level, $msg);
27 protected $logger; global() variable in helper_plugin_upgrade
46 setLogger($logger) global() argument
/plugin/upgrade/vendor/splitbrain/php-cli/
H A DREADME.md130 The CLI class is a fully PSR-3 compatible logger (printing colored log data to STDOUT and STDERR). This is useful when
138 The resulting object then can be passed as the logger instance. The difference between the two is in adjusted method signatures (with appropriate type hinting) only. Be sure you have the suggested `psr/log` composer package installed when using these classes.
140 Note: if your backend code calls for a PSR-3 logger but does not actually type check for the interface (AKA being LoggerAware only) you can also just pass an instance of `splitbrain\phpcli\CLI`.
/plugin/webdav/vendor/psr/log/Psr/Log/
H A DLoggerAwareInterface.php13 * @param LoggerInterface $logger
17 public function setLogger(LoggerInterface $logger); argument
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/
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/webdav/vendor/sabre/dav/lib/DAV/
H A DServer.php446 if (!$this->logger) {
447 $this->logger = new NullLogger();
449 return $this->logger;

1234