Home
last modified time | relevance | path

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

123456

/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/
DRegistry.php50 * @param Logger $logger Instance of the logging channel
56 public static function addLogger(Logger $logger, ?string $name = null, bool $overwrite = false) argument
58 $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
[all …]
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Cache/
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/
Dadmin.php276 * @param Callable $logger A method compatible to DokuWiki's msg()
279 protected function createBackup($fn, $prefs, $logger) argument
293 $cmd($tar, $logger);
295 $logger('Can\'t call ' . $cmd[1], -1);
308 * @param Callable|null $logger msg() compatible logger
313 protected function addDirectoryToTar(Tar $tar, $dir, $as, $logger = null, $filter = null) argument
331 if ($logger !== null) {
332 $logger($file);
388 * @param Callable $logger
392 protected function backupConfig(Tar $tar, $logger) argument
[all …]
/plugin/stopforumspam/_test/
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/authgooglesheets/vendor/psr/log/
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/
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/psr/log/
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/
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/authssocas/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/pureldap/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/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/asciidocjs/node_modules/handlebars/lib/handlebars/
Dlogger.js3 let logger = { variable
10 let levelMap = indexOf(logger.methodMap, level.toLowerCase());
23 level = logger.lookupLevel(level);
27 logger.lookupLevel(logger.level) <= level
29 let method = logger.methodMap[level];
39 export default 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/dw2pdf/vendor/psr/log/Psr/Log/Test/
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/
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/authssocas/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/pureldap/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/authgooglesheets/vendor/psr/log/Psr/Log/Test/
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/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/asciidocjs/node_modules/handlebars/dist/amd/handlebars/
Dlogger.js4 var logger = { variable
11 var levelMap = _utils.indexOf(logger.methodMap, level.toLowerCase());
24 level = logger.lookupLevel(level);
26 if (typeof console !== 'undefined' && logger.lookupLevel(logger.level) <= level) {
27 var method = logger.methodMap[level];
42 module.exports = logger;
/plugin/asciidocjs/node_modules/handlebars/dist/cjs/handlebars/
Dlogger.js7 var logger = { variable
14 var levelMap = _utils.indexOf(logger.methodMap, level.toLowerCase());
27 level = logger.lookupLevel(level);
29 if (typeof console !== 'undefined' && logger.lookupLevel(logger.level) <= level) {
30 var method = logger.methodMap[level];
45 exports['default'] = logger;
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
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…
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' => …
114 …$this->logger->error(sprintf('Socket error "%s": "%s"', $errno, $errstr), ['context' => LogContext…
148 public function setLogger(LoggerInterface $logger) argument
150 $this->logger = $logger;
/plugin/quickstats/GEOIP/vendor/composer/ca-bundle/src/
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/aichat/
DEmbeddings.php30 protected $logger; variable in dokuwiki\\plugin\\aichat\\Embeddings
109 public function setLogger(CLI $logger) argument
111 $this->logger = $logger;
181 if ($this->logger instanceof CLI) $this->logger->info("Reusing chunks for $page");
208 if ($this->logger) $this->logger->error(
259 if ($this->logger instanceof CLI) {
260 $this->logger->error(
270 if ($this->logger instanceof CLI) {
272 $this->logger->success(
277 $this->logger->warning('{id} could not be split into chunks', ['id' => $page]);
[all …]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
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']);

123456