Exponent v2.7.2

elFinderSimpleLogger
in package

example logger class Demonstrate how to work with elFinder event api.

Tags
author

Dmitry (dio) Levashov

subpackage

Utility

Table of Contents

$file  : string
Log file path
__construct()  : mixed
constructor
log()  : void|true
Create log record
write()  : void
Write log into file

Properties

$file

Log file path

protected string $file = ''

Methods

__construct()

constructor

public __construct( $path) : mixed
Parameters
$path :
Tags
author

Dmitry (dio) Levashov

Return values
mixed

log()

Create log record

public log(string $cmd, array<string|int, mixed> $result, array<string|int, mixed> $args, elFinder $elfinder) : void|true
Parameters
$cmd : string

command name

$result : array<string|int, mixed>

command result

$args : array<string|int, mixed>

command arguments from client

$elfinder : elFinder

elFinder instance

Tags
author

Dmitry (dio) Levashov

Return values
void|true

write()

Write log into file

protected write(string $log[, bool $eol = false ]) : void
Parameters
$log : string

log record

$eol : bool = false
Tags
author

Dmitry (dio) Levashov

Return values
void

Search results