Skip to content

Commit 3510819

Browse files
authored
Merge pull request mschilli#90 from willsheppard/fix-docs-priority-means-level
Make it clear that the 'priority' means the 'log level'
2 parents 95e1e67 + 2cd8b65 commit 3510819

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: README

+1-1
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ How to use it
559559
%m{chomp} The message to be logged, stripped off a trailing newline
560560
%M Method or function where the logging request was issued
561561
%n Newline (OS-independent)
562-
%p Priority of the logging event
562+
%p Priority of the logging event (AKA log level)
563563
%P pid of the current process
564564
%r Number of milliseconds elapsed from program start to logging
565565
event

Diff for: lib/Log/Log4perl/Layout/PatternLayout.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ replaced by the logging engine when it's time to log the message:
568568
%m{indent=n} Log message, multi-lines indented by n spaces
569569
%M Method or function where the logging request was issued
570570
%n Newline (OS-independent)
571-
%p Priority of the logging event (%p{1} shows the first letter)
571+
%p Priority/level of the logging event (%p{1} shows the first letter)
572572
%P pid of the current process
573573
%r Number of milliseconds elapsed from program start to logging
574574
event

0 commit comments

Comments
 (0)