The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Google::Ads::AdWords::Logging

DESCRIPTION

The class Google::Ads::AdWords::Logging allows logging of outgoing and incoming SOAP XML messages as API calls are executed. It initializes loggers based on a provided log4perl.conf file or if the file is not found then based on default parameters. It contains method to retrieve the message loggers.

METHODS

disable_all_logging

Stops all logging.

disable_awapi_logging

Disables all logging for program errors and messages.

disable_soap_logging

Disables all logging for soap traffic, request and responses.

enable_all_logging

Enables all logging.

Parameters

A boolean if true will also include the logging of low level DEBUG messages.

enable_awapi_logging

Enables all logging for program errors and messages.

Parameters

A boolean if true will also include the logging of low level DEBUG messages.

enable_soap_logging

Enables all logging for soap traffic, request and responses.

Parameters

A boolean if true will also include the logging of low level DEBUG messages.

get_awapi_logger

Retrieves the program errors/messages logger.

Returns

A log4perl logger for program errors/messages logger.

get_soap_logger

Retrieves the soap request/response logger.

Returns

A log4perl logger for logging soap traffic.

LICENSE AND COPYRIGHT

Copyright 2011 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

AUTHOR

David Torres <api.davidtorres at gmail.com>

REPOSITORY INFORMATION

 $Rev: $
 $LastChangedBy: $
 $Id: $