ice framework documentation ice doc v1.6.2
Methods
  • __construct(string $file) : void
    Logger file constructor.
  • log(variable $level, string $message, array $context) : void
    Logs with an arbitrary level.
  • interpolate(string $message, array $context) : string
    Interpolates context values into the message placeholders.
Methods Details
  • public function __construct(string $file)

    Logger file constructor.
  • public function log(variable $level, string $message, array $context)

    Logs with an arbitrary level.
  • protected function interpolate(string $message, array $context)

    Interpolates context values into the message placeholders.