Raphael - 2005-07-26

Is it possible to change the layoutpattern programmatically, save the old pattern and revert to it later.  If so, how?  The reason I'm doing this is because I want to have header lines in my logs like such....

===================  XYZ Function ==============

where I don't want any formating to make it cleaner.  I was looking for something like.
my $old_layout = $logger->get_layout;
$logger->layout("");
$logger->debug(========= Func BLA =====)
$logger->layout($old_layout);

Now I know there no such function but is there a way to do it?

Raphael