このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
psr:psr3 [2020/04/29 22:59] y2sunlight [1.4 ヘルパークラスとインターフェイス] |
psr:psr3 [2020/09/01 11:52] (現在) tanaka [PSR-3: Logger Interface] |
||
---|---|---|---|
行 3: | 行 3: | ||
--- // | --- // | ||
- | 本章は、若干の補足を加筆してはいるものの単に[[https:// | + | 本章は、若干の補足を加筆してはいるものの単に[[https:// |
- | ==== 目次 ==== | + | 関連記事 |
- | * [[psr:top|PHP - PHP標準勧告]] | + | |
+ | * [[psr:top|PSR - PHP標準勧告]] | ||
* [[psr: | * [[psr: | ||
* PSR-3: Logger Interface - ロガーインターフェイス | * PSR-3: Logger Interface - ロガーインターフェイス | ||
行 12: | 行 13: | ||
* [[psr: | * [[psr: | ||
* [[psr: | * [[psr: | ||
+ | * [[psr: | ||
+ | * [[psr: | ||
+ | * [[psr: | ||
+ | * [[psr: | ||
+ | * [[psr: | ||
+ | * [[psr: | ||
+ | * [[psr: | ||
+ | * [[psr: | ||
+ | * [[psr: | ||
+ | * [[psr: | ||
----- | ----- | ||
行 127: | 行 138: | ||
===== 3. Psr\Log\LoggerInterface ====== | ===== 3. Psr\Log\LoggerInterface ====== | ||
+ | |||
+ | {{tablelayout? | ||
+ | ^メソッド^要約^ | ||
+ | |emergency\\ ($message, array $context = array())|システムが使用できない| | ||
+ | |alert\\ ($message, array $context = array())|すぐに行動を起こす必要がある| | ||
+ | |critical\\ ($message, array $context = array())|危機的な状態| | ||
+ | |error\\ ($message, array $context = array())|すぐに対処する必要はないが、通常はログに記録して監視する必要がある実行時エラー| | ||
+ | |warning\\ ($message, array $context = array())|エラーではない例外的な出来事| | ||
+ | |notice\\ ($message, array $context = array())|正常だが重要なイベント| | ||
+ | |info\\ ($message, array $context = array())|興味深いイベント| | ||
+ | |debug\\ ($message, array $context = array())|詳細なデバッグ情報| | ||
+ | |log($level, | ||
<code php LoggerInterface.php> | <code php LoggerInterface.php> |