PluginProbe
Loginizer / 2.0.4
Loginizer v2.0.4
2.1.0 2.0.9 2.0.8 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 All 74 releases
loginizer / lib / hybridauth / Logger / LoggerInterface.php

LoggerInterface.php in Loginizer 2.0.4, at lib/hybridauth/Logger/LoggerInterface.php

51 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*!
3 * Hybridauth
4 * https://hybridauth.github.io | https://github.com/hybridauth/hybridauth
5 * (c) 2017 Hybridauth authors | https://hybridauth.github.io/license.html
6 */
7
8 namespace Hybridauth\Logger;
9
10 /**
11 * Logger interface, forward-compatible with PSR-3.
12 */
13 interface LoggerInterface
14 {
15 /**
16 * Interesting events.
17 *
18 * Example: User logs in, SQL logs.
19 *
20 * @param string $message
21 * @param array $context
22 */
23 public function info($message, array $context = array());
24
25 /**
26 * Detailed debug information.
27 *
28 * @param string $message
29 * @param array $context
30 */
31 public function debug($message, array $context = array());
32
33 /**
34 * Runtime errors that do not require immediate action but should typically
35 * be logged and monitored.
36 *
37 * @param string $message
38 * @param array $context
39 */
40 public function error($message, array $context = array());
41
42 /**
43 * Logs with an arbitrary level.
44 *
45 * @param mixed $level
46 * @param string $message
47 * @param array $context
48 */
49 public function log($level, $message, array $context = array());
50 }
51