Overview

Namespaces

  • Baguette
    • Application
    • Response
    • Serializer
    • Session

Traits

  • AcceptLanguage
  • Logging
  • Param
  • Whoopsable
  • Overview
  • Namespace
  • Class

Trait Logging

Logging trait for Application

Baguette\Application\Logging uses Psr\Log\LoggerTrait (not available)
Namespace: Baguette\Application
Package: Baguette\Response
License: Apache-2.0
Author: USAMI Kenta tadsan@zonu.me
Link: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
Located at Application/Logging.php
Methods summary
public null
# log( mixed $level, string $message, array $context = [] )

Logs with an arbitrary level.

Logs with an arbitrary level.

Parameters

$level
$message
$context

Returns

null
public
# setLogger( Psr\Log\LoggerInterface $logger )

Parameters

$logger
ξ ^ω^)ξ < Baguette Not Framework API documentation generated by ApiGen