Вход Регистрация
Файл: sngine-v2.8/Script/includes/libs/HybridAuth/Logger/LoggerInterface.php
Строк: 39
<?php
/*!
* Hybridauth
* https://hybridauth.github.io | https://github.com/hybridauth/hybridauth
*  (c) 2017 Hybridauth authors | https://hybridauth.github.io/license.html
*/

namespace HybridauthLogger;

/**
 * Logger interface, forward-compatible with PSR-3.
 */
interface LoggerInterface
{
    
/**
     * Interesting events.
     *
     * Example: User logs in, SQL logs.
     *
     * @param string $message
     * @param array  $context
     */
    
public function info($message, array $context = array());

    
/**
     * Detailed debug information.
     *
     * @param string $message
     * @param array  $context
     */
    
public function debug($message, array $context = array());

    
/**
     * Runtime errors that do not require immediate action but should typically
     * be logged and monitored.
     *
     * @param string $message
     * @param array  $context
     */
    
public function error($message, array $context = array());

    
/**
     * Logs with an arbitrary level.
     *
     * @param mixed  $level
     * @param string $message
     * @param array  $context
     */
    
public function log($level$message, array $context = array());
}
Онлайн: 1
Реклама