Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • AbstractLogAdapter
  • ArrayLogAdapter
  • ClosureLogAdapter
  • MessageFormatter
  • MonologLogAdapter
  • PsrLogAdapter
  • Zf1LogAdapter
  • Zf2LogAdapter

Interfaces

  • LogAdapterInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class ClosureLogAdapter

Logs messages using Closures. Closures combined with filtering can trigger application events based on log messages.

Guzzle\Log\AbstractLogAdapter implements Guzzle\Log\LogAdapterInterface
Extended by Guzzle\Log\ClosureLogAdapter
Namespace: Guzzle\Log
Located at src/Guzzle/Log/ClosureLogAdapter.php
Methods summary
public
# __construct( $logObject )
public
# log( string $message, integer $priority = LOG_INFO, array $extras = array() )

Log a message at a priority

Log a message at a priority

Parameters

$message
Message to log
$priority
Priority of message (use the \LOG_* constants of 0 - 7)
$extras
Extra information to log in event
Methods inherited from Guzzle\Log\AbstractLogAdapter
getLogObject()
Properties inherited from Guzzle\Log\AbstractLogAdapter
$log
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen