P5EEx-Blue-0.01

P5EEx::Blue::LogChannel


NAME

P5EEx::Blue::LogChannel - Interface for logging


SYNOPSIS

    use P5EEx::Blue::P5EE;
    $context = P5EEx::Blue::P5EE->context();
    $logchannel = $context->service("LogChannel");  # or ...
    $logchannel = $context->logchannel();


DESCRIPTION

A LogChannel service is a means by which messages are logged through a logging system. This perhaps ends up in a file, or perhaps it ends up on someone's operator console screen somewhere.


Class Group: LogChannel

The following classes might be a part of the LogChannel Class Group.


Class: P5EEx::Blue::LogChannel

A LogChannel service ...

 * Throws: P5EEx::Blue::Exception::LogChannel
 * Since:  0.01

Class Design

...


Constructor Methods:

new()

The constructor is inherited from P5EEx::Blue::Service.


Public Methods:

log()

    * Signature: $logchannel->log(@text);
    * Param:     @text              array[string]
    * Return:    void
    * Throws:    P5EEx::Blue::Exception::LogChannel
    * Since:     0.01
    Sample Usage:
    $context = P5EEx::Blue::P5EE->context();
    $logchannel = $context->service("LogChannel");  # or ...
    $logchannel->log("Error occurred");


Protected Methods:

service_type()

Returns 'LogChannel';

    * Signature: $service_type = P5EEx::Blue::LogChannel->service_type();
    * Param:     void
    * Return:    $service_type  string
    * Since:     0.01
    $service_type = $widget->service_type();


ACKNOWLEDGEMENTS

 * Author:  Stephen Adkins <stephen.adkins@officevision.com>
 * License: This is free software. It is licensed under the same terms as Perl itself.


SEE ALSO

P5EEx::Blue::Context, P5EEx::Blue::Service