Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

LoggerInterface.php

Zuletzt modifiziert: 09.10.2024, 12:57 - Dateigröße: 2.97 KiB


001  <?php
002   
003  namespace Psr\Log;
004   
005  /**
006   * Describes a logger instance.
007   *
008   * The message MUST be a string or object implementing __toString().
009   *
010   * The message MAY contain placeholders in the form: {foo} where foo
011   * will be replaced by the context data in key "foo".
012   *
013   * The context array can contain arbitrary data. The only assumption that
014   * can be made by implementors is that if an Exception instance is given
015   * to produce a stack trace, it MUST be in a key named "exception".
016   *
017   * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
018   * for the full interface specification.
019   */
020  interface LoggerInterface
021  {
022      /**
023       * System is unusable.
024       *
025       * @param string $message
026       * @param array  $context
027       *
028       * @return void
029       */
030      public function emergency($message, array $context = array());
031   
032      /**
033       * Action must be taken immediately.
034       *
035       * Example: Entire website down, database unavailable, etc. This should
036       * trigger the SMS alerts and wake you up.
037       *
038       * @param string $message
039       * @param array  $context
040       *
041       * @return void
042       */
043      public function alert($message, array $context = array());
044   
045      /**
046       * Critical conditions.
047       *
048       * Example: Application component unavailable, unexpected exception.
049       *
050       * @param string $message
051       * @param array  $context
052       *
053       * @return void
054       */
055      public function critical($message, array $context = array());
056   
057      /**
058       * Runtime errors that do not require immediate action but should typically
059       * be logged and monitored.
060       *
061       * @param string $message
062       * @param array  $context
063       *
064       * @return void
065       */
066      public function error($message, array $context = array());
067   
068      /**
069       * Exceptional occurrences that are not errors.
070       *
071       * Example: Use of deprecated APIs, poor use of an API, undesirable things
072       * that are not necessarily wrong.
073       *
074       * @param string $message
075       * @param array  $context
076       *
077       * @return void
078       */
079      public function warning($message, array $context = array());
080   
081      /**
082       * Normal but significant events.
083       *
084       * @param string $message
085       * @param array  $context
086       *
087       * @return void
088       */
089      public function notice($message, array $context = array());
090   
091      /**
092       * Interesting events.
093       *
094       * Example: User logs in, SQL logs.
095       *
096       * @param string $message
097       * @param array  $context
098       *
099       * @return void
100       */
101      public function info($message, array $context = array());
102   
103      /**
104       * Detailed debug information.
105       *
106       * @param string $message
107       * @param array  $context
108       *
109       * @return void
110       */
111      public function debug($message, array $context = array());
112   
113      /**
114       * Logs with an arbitrary level.
115       *
116       * @param mixed  $level
117       * @param string $message
118       * @param array  $context
119       *
120       * @return void
121       */
122      public function log($level, $message, array $context = array());
123  }
124