\Horde_Imap_Client_Base_Debug

An object allowing management of debugging output within a Horde_Imap_Client_Base object.

NOTE: This class is NOT intended to be accessed outside of a Base object. There is NO guarantees that the API of this class will not change across versions.

Summary

Methods
Properties
Constants
__construct()
shutdown()
client()
info()
raw()
server()
$debug
SLOW_CMD
_write()
$_stream
$_time
N/A
No private methods found
No private properties found
N/A

Constants

SLOW_CMD

SLOW_CMD

Time, in seconds, to be labeled a slow command.

Properties

$debug

$debug : boolean

Is debugging active?

Type

boolean

$_stream

$_stream : resource

The debug stream.

Type

resource

$_time

$_time : integer

Timestamp of last command.

Type

integer

Methods

__construct()

__construct(mixed  $debug) 

Constructor.

Parameters

mixed $debug

The debug target.

shutdown()

shutdown() 

Shutdown function.

client()

client(string  $msg) 

Write client output to debug log.

Parameters

string $msg

Debug message.

info()

info(string  $msg) 

Write informational message to debug log.

Parameters

string $msg

Debug message.

raw()

raw(string  $msg) 

Write server output to debug log.

Parameters

string $msg

Debug message.

server()

server(string  $msg) 

Write server output to debug log.

Parameters

string $msg

Debug message.

_write()

_write(string  $msg,   $pre = null) 

Write debug information to the output stream.

Parameters

string $msg

Debug data.

$pre