EC-CUBE4 APIドキュメント

Logger extends AbstractLogger

Table of Contents

$context Context
$logger LoggerInterface
$frontLogger LoggerInterface
$adminLogger LoggerInterface
__construct() mixed
log() ログ出力を行う。アクセスされている画面によりログ出力先を分けている。 mixed

Properties

$logger

protected LoggerInterface $logger

$frontLogger

protected LoggerInterface $frontLogger

$adminLogger

protected LoggerInterface $adminLogger

Methods

__construct()

public __construct( $context : Context , $logger : LoggerInterface , $frontLogger : LoggerInterface , $adminLogger : LoggerInterface ) : mixed
Parameters
$context : Context
$logger : LoggerInterface
$frontLogger : LoggerInterface
$adminLogger : LoggerInterface
Return values
mixed

log()

ログ出力を行う。アクセスされている画面によりログ出力先を分けている。

public log( $level : mixed , $message : string [, $context : array = [] ] ) : mixed
Parameters
$level : mixed
$message : string
$context : array = []
Return values
mixed

Search results