ErrorLoggerCreator
namespace |
bhenk\logger\build |
predicates |
Cloneable | Instantiable |
implements |
|
extends |
|
hierarchy |
Constants
ErrorLoggerCreator::FILENAME
predicates |
public |
string(16) "logger/error.log"
ErrorLoggerCreator::LOG_DIR
predicates |
public |
Inherited from |
Name of an ancestor child directory expected to be dedicated for logfiles
string(4) "logs"
Methods
ErrorLoggerCreator::create
predicates |
public |
implements |
@inheritdoc
Creates a logger that implements LoggerInterface
@inheritdoc from method LoggerCreatorInterface::create
public function create(
Parameter #0 [ <optional> array $paras = [] ]
): Logger
ErrorLoggerCreator::makeAbsolute
predicates |
public |
inherited from |
Tries to make the given filename absolute
An absolute $filename will be returned as such.
This method will than try to locate an ancestor directory with a child with the name specified by LoggerCreatorInterface::LOG_DIR (logs). The returned absolute filename will than point to a child of this ancestor-child directory.
A $filename is invalid if it is the empty string (“”) or the slash forward (/).
public function makeAbsolute(
Parameter #0 [ <required> string $filename ]
): string
Sat, 29 Apr 2023 12:38:18 +0000