AbstractLoggerCreator
namespace |
bhenk\logger\build |
predicates |
Abstract |
implements |
|
known subclasses |
ConsoleLoggerCreator | DefaultLoggerCreator | ErrorLoggerCreator | RequestLoggerCreator |
Constants
AbstractLoggerCreator::LOG_DIR
predicates |
public |
Inherited from |
Name of an ancestor child directory expected to be dedicated for logfiles
string(4) "logs"
Methods
AbstractLoggerCreator::makeAbsolute
predicates |
public |
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
AbstractLoggerCreator::create
predicates |
public | abstract |
Creates a logger that implements LoggerInterface
public abstract function create(
Parameter #0 [ <optional> array $paras = [] ]
): LoggerInterface
Sat, 29 Apr 2023 12:38:18 +0000