Renard::Curie::Component::LogWindow - Component that collects log messages
version 0.003
Moo::Object
Renard::Incunabula::Frontend::Gtk3::Component::Role::FromBuilder
Renard::Incunabula::Frontend::Gtk3::Component::Role::UIFileFromPackageName
An ArrayRef[HashRef] of log messages where each item has the keys
ArrayRef[HashRef]
category
level
message
See the "log" method for more details.
method BUILD
Initialises the logging window.
method show_log_window()
Displays the hidden logging window.
method log( (Str) :$category, (Str) :$level, (Str) :$message )
Called by the Renard::Curie::Log::Any::Adapter::LogWindow adapter to send logging messages to this component.
$category is category for the log message (e.g, which package generated it).
$category
$level is the severity of the message (e.g., info, warning, debug).
$level
$message is the message itself.
$message
method _scroll_log_textview_to_end()
Scrolls the text view of logging messages to the end so that the last message is visible.
callback on_clicked_button_clear_cb( $event, $self )
Callback for when the Clear button is clicked. This clears the log message text view.
Project Renard
This software is copyright (c) 2016 by Project Renard.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Renard::Curie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Renard::Curie
CPAN shell
perl -MCPAN -e shell install Renard::Curie
For more information on module installation, please visit the detailed CPAN module installation guide.