Wx::LogMessage
From WxPerl wiki
At Startup all messages will be send to STDOUT.
To use the WxWidgets Log with a TextControl:
my $LOG = Wx::LogTextCtrl->new($HandleToATextCtrl);
If you want to log on the TextCtrl and STDOUT:
Wx::LogChain->new($LOG);# > txtLog > STDOUT
Or just the TextCtrl:
Wx::Log::SetActiveTarget($LOG);
Then you can use these to log messages:
Wx::LogMessage("Log started");
Wx::LogDebug("Debug?");# Didnt do anything ?
carp("That is a carp message.");
Btw: Does anyone knows how I can log debug messages ?
