Skip to content

Commit

Permalink
Replace the samewith for performance reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanstowe committed Sep 26, 2016
1 parent 21f4a1f commit e7d46c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Lumberjack.pm
Expand Up @@ -707,7 +707,7 @@ class Lumberjack {
my @backtrace = Backtrace.new.list;
my $class = $?CLASS;
my $mess = Message.new(:$level, :$message, :@backtrace, :$class);
samewith $mess;
self.log($mess);
}

method log-trace(Str() $message) is hidden-from-backtrace {
Expand Down

0 comments on commit e7d46c2

Please sign in to comment.