mini\Logger\Logger
class
Documentation
Built-in logger implementation that logs to PHP's error_log
Uses MessageFormatter for string interpolation with the application's default locale. Supports all PSR-3 log levels.
Inheritance
Extends: Psr\Log\AbstractLogger
Implements:
Psr\Log\LoggerInterface
Methods (14)
Logs with an arbitrary level.
Interpolate message with context values using MessageFormatter
Preprocess context values for MessageFormatter compatibility
Simple placeholder replacement for basic {key} patterns
Format a log entry with timestamp and level
Format exception for logging
public
emergency()
inherited from Psr\Log\AbstractLogger
System is unusable.
public
alert()
inherited from Psr\Log\AbstractLogger
Action must be taken immediately.
public
critical()
inherited from Psr\Log\AbstractLogger
Critical conditions.
public
error()
inherited from Psr\Log\AbstractLogger
Runtime errors that do not require immediate action but should typically
public
warning()
inherited from Psr\Log\AbstractLogger
Exceptional occurrences that are not errors.
public
notice()
inherited from Psr\Log\AbstractLogger
Normal but significant events.
public
info()
inherited from Psr\Log\AbstractLogger
Interesting events.
public
debug()
inherited from Psr\Log\AbstractLogger
Detailed debug information.