MT::Log::Telegraph
NAME
MT::Log::Telegraph - an activity log class for recording Telegraph information.
SYNOPSIS
use MT::Log::Telegraph;
MT::Log::Telegraph->warn('warning! will rogers, danger!');
MT::Log::Telegraph->log_error('ack!');
DESCRIPTION
MT::Log::Telegraph is an activity log class for recording Telegraph information. It is a subclass of MT::Log via MT::Log::Base.
The class can be used with the Movable Type Activity Log directly, but can also be subclassed for other Telegraph related logging needs.
METHODS
MT::Log::Telegraph is a subclass of MT::Log via MT::Log::Base. The following methods overload the methods found in their parent class.
- class_label
A read-only accessor which returns 'Telegraph'.
- metadata_object
- metadata_class
These methods are not implemented and return null if called.
- metadata([$res])
Gets/sets the log entry metadata. To set the metadata a HTTP::Response or URI::Fetch::Response object can be passed in. The URI and the status code and message are recorded along with the HTTP Content-Type, Last-Modified and ETag if available.
SEE ALSO
MT::Log
MT::Log::Base
AUTHOR & COPYRIGHT
Copyright 2005-2007 Appnel Internet Solutions, LLC, info@appnel.com. All Rights Reserved. This code cannot be redistributed without permission of the author.
