PHP Class Airship\Engine\LedgerStorage\FileStore

Inheritance: implements Airship\Engine\Contract\LedgerStorageInterface
Exibir arquivo Open project: paragonie/airship

Protected Properties

Property Type Description
$basedir string
$fileFormat string
$timeFormat string

Public Methods

Method Description
__construct ( string $baseDirectory = '', string $logfileFormat = self::FILE_FORMAT, string $timeFormat = self::TIME_FORMAT ) FileStore constructor.
store ( string $level, string $message, string $context ) : mixed Store a log message -- used by Ledger

Method Details

__construct() public method

FileStore constructor.
public __construct ( string $baseDirectory = '', string $logfileFormat = self::FILE_FORMAT, string $timeFormat = self::TIME_FORMAT )
$baseDirectory string
$logfileFormat string
$timeFormat string

store() public method

Store a log message -- used by Ledger
public store ( string $level, string $message, string $context ) : mixed
$level string
$message string
$context string (JSON encoded)
return mixed

Property Details

$basedir protected_oe property

protected string $basedir
return string

$fileFormat protected_oe property

protected string $fileFormat
return string

$timeFormat protected_oe property

protected string $timeFormat
return string