NAME

Net::STOMP::Client::Debug - Debug support for Net::STOMP::Client

DESCRIPTION

This module provides debug support for Net::STOMP::Client.

Debug messages are reported using Net::STOMP::Client::Debug::report() and get printed on STDERR.

The amount of debug information that gets printed can be controlled using $Net::STOMP::Client::Debug::Flags. Here are the flags that can be used:

Net::STOMP::Client::Debug::API

STOMP-level API calls

Net::STOMP::Client::Debug::FRAME

frames sent and received (command only)

Net::STOMP::Client::Debug::HEADER

frames sent and received (headers)

Net::STOMP::Client::Debug::BODY

frames sent and received (body)

Net::STOMP::Client::Debug::IO

input/output bytes

FUNCTIONS

This module provides the following functions:

report(MASK, FORMAT[, ARGUMENTS])

if the current debugging flags match the given mask, give the remaining arguments to sprintf() and print the result on STDERR

enabled(MASK)

return true if the current debugging flags match the given mask

AUTHOR

Lionel Cons http://cern.ch/lionel.cons

Copyright CERN 2010-2011