|
P5EEx-Blue-0.01 | |||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
![]() |
P5EEx::Blue::LogChannel |
P5EEx::Blue::LogChannel - Interface for logging
use P5EEx::Blue::P5EE;
$context = P5EEx::Blue::P5EE->context();
$logchannel = $context->service("LogChannel"); # or ...
$logchannel = $context->logchannel();
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.
The following classes might be a part of the LogChannel Class Group.
A LogChannel service ...
* Throws: P5EEx::Blue::Exception::LogChannel * Since: 0.01
...
new()The constructor is inherited from
P5EEx::Blue::Service.
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");
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();
* Author: Stephen Adkins <stephen.adkins@officevision.com> * License: This is free software. It is licensed under the same terms as Perl itself.