class FileLogger implements LoggerInterface, NormalizableInterface, DenormalizableInterface (View source)

Properties

protected string $directory
protected Process $process
protected Filesystem $filesystem

Methods

__construct(string $directory = null, Process $process = null)

FileLogger constructor.

getLogFileName()

No description

getFilePath()

No description

write($message)

No description

normalize(NormalizerInterface $normalizer, string $format = null, array $context = [])

No description

denormalize(DenormalizerInterface $denormalizer, $data, string $format = null, array $context = [])

No description

void
remove()

No description

array
readAsArray()

No description

bool
logExists()

No description

Details

__construct(string $directory = null, Process $process = null)

FileLogger constructor.

Parameters

string $directory
Process $process

protected getLogFileName()

No description

protected getFilePath()

No description

write($message)

No description

Parameters

$message

normalize(NormalizerInterface $normalizer, string $format = null, array $context = [])

No description

Parameters

NormalizerInterface $normalizer
string $format
array $context

denormalize(DenormalizerInterface $denormalizer, $data, string $format = null, array $context = [])

No description

Parameters

DenormalizerInterface $denormalizer
$data
string $format
array $context

void remove()

No description

Return Value

void

array readAsArray()

No description

Return Value

array

bool logExists()

No description

Return Value

bool