--- loncom/LondConnection.pm 2004/09/14 11:46:29 1.34 +++ loncom/LondConnection.pm 2004/09/21 10:51:42 1.35 @@ -1,7 +1,7 @@ # This module defines and implements a class that represents # a connection to a lond daemon. # -# $Id: LondConnection.pm,v 1.34 2004/09/14 11:46:29 foxr Exp $ +# $Id: LondConnection.pm,v 1.35 2004/09/21 10:51:42 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -154,14 +154,17 @@ Dump the internal state of the object: F sub Dump { my $self = shift; my $level = shift; + my $now = time; + my $local = localtime($now); if ($level <= $DebugLevel) { return; } + my $key; my $value; - print STDERR "Dumping LondConnectionObject:\n"; + print STDERR "[ $local ] Dumping LondConnectionObject:\n"; while(($key, $value) = each %$self) { print STDERR "$key -> $value\n"; }