LoggerCreatorInterface
namespace |
bhenk\logger\build |
predicates |
Abstract | Interface |
known implementations |
AbstractLoggerCreator | ConsoleLoggerCreator | DefaultLoggerCreator | ErrorLoggerCreator | RequestLoggerCreator |
Defines an interface for classes that are capable of creating loggers
The loggers implement LoggerInterface.
Constants
LoggerCreatorInterface::LOG_DIR
predicates |
public |
Name of an ancestor child directory expected to be dedicated for logfiles
string(4) "logs"
Methods
LoggerCreatorInterface::create
predicates |
public | abstract |
Creates a logger that implements LoggerInterface
public abstract function create(
Parameter #0 [ <optional> array $paras = [] ]
): LoggerInterface
param array $paras - array of name-value pairs needed for building the logger.
return LoggerInterface
Sat, 29 Apr 2023 12:38:18 +0000