elFinderSimpleLogger

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

package

elFinder

author

Dmitry (dio) Levashov

Methods

constructor

__construct( $path) 
author

Dmitry (dio) Levashov

Arguments

$path

Create log record

log(string $cmd, array $result, array $args, \elFinder $elfinder) : void|true
author

Dmitry (dio) Levashov

Arguments

$cmd

string

command name

$result

array

command result

$args

array

command arguments from client

$elfinder

\elFinder

elFinder instance

Response

void|true

Write log into file

write(string $log, boolean $eol = false) : void
author

Dmitry (dio) Levashov

Arguments

$log

string

log record

$eol

boolean

Properties

Log file path

file : string
var

Type(s)

string