|
NAMELog::Agent::Channel - ancestor class for all Log::Agent channelsSYNOPSIS@Log::Agent::Channel::XXX::ISA = qw(Log::Agent::Channel); DESCRIPTIONThe "Log::Agent::Channel" class is the root class from which all "Log::Agent" channels inherit. It is a deferred class, meaning that it cannot be instantiated directly. All the deferred routines need to be implemented by its heirs to form a valid driver.Internally, the various "Log::Agent::Driver" objects create "Log::Agent::Channel" instances for each logging channel defined at driver creation time. The channels are therefore architecturally hidden within "Log::Agent", since this module only provides redefined mappings for the various logxxx() routines (logerr(), logwarn(), logdie(), etc...). However, this does not mean that channel classes cannot be used externally: the "Log::Agent::Logger" extension makes "Log::Agent::Channel" objects architecturally visible, thereby offering an application-level logging API that can be redirected to various places transparently for the application. CHANNEL LISTThe following channels are currently made available by "Log::Agent". More channels can be defined by the "Log::Agent::Logger" extension:
INTERFACEYou need not read this section if you're only using "Log::Agent". However, if you wish to implement another channel, then this section might be of interest.The following routines are deferred and therefore need to be defined by the heir:
AUTHORRaphael Manfredi <Raphael_Manfredi@pobox.com>SEE ALSOLog::Agent::Channel::File(3), Log::Agent::Channel::Handle(3), Log::Agent::Channel::Syslog(3), Log::Agent::Logger(3).
Visit the GSP FreeBSD Man Page Interface. |