1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
From 90969431e34c0d7c8a93d833f975db66842f22d1 Mon Sep 17 00:00:00 2001
From: gregor herrmann <gregoa@debian.org>
Date: Fri, 29 Apr 2016 17:53:54 +0200
Subject: [PATCH] More spelling fixes in the POD.
s/Similarily/Similarly/gi
s/compontent/component/
---
lib/Log/Log4perl.pm | 4 ++--
lib/Log/Log4perl/Config/Watch.pm | 2 +-
lib/Log/Log4perl/Layout/PatternLayout.pm | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/Log/Log4perl.pm b/lib/Log/Log4perl.pm
index 62853a5..dda19aa 100644
--- a/lib/Log/Log4perl.pm
+++ b/lib/Log/Log4perl.pm
@@ -2250,7 +2250,7 @@ C<die()> (including the traditional output to STDERR) in any case afterwards.
See L<"Log and die or warn"> for the similar C<logdie()> and C<logwarn()>
functions of regular (i.e non-stealth) loggers.
-Similarily, C<LOGCARP()>, C<LOGCLUCK()>, C<LOGCROAK()>, and C<LOGCONFESS()>
+Similarly, C<LOGCARP()>, C<LOGCLUCK()>, C<LOGCROAK()>, and C<LOGCONFESS()>
are provided in C<:easy> mode, facilitating the use of C<logcarp()>,
C<logcluck()>, C<logcroak()>, and C<logconfess()> with stealth loggers.
@@ -2762,7 +2762,7 @@ would even play along in the Log::Log4perl framework.
A call to C<Log::Log4perl-E<gt>infiltrate_lwp()> does exactly this.
In a very rude way, it pulls the rug from under LWP::UserAgent and transforms
its C<debug/conn> messages into C<debug()> calls of loggers of the category
-C<"LWP::UserAgent">. Similarily, C<LWP::UserAgent>'s C<trace> messages
+C<"LWP::UserAgent">. Similarly, C<LWP::UserAgent>'s C<trace> messages
are turned into C<Log::Log4perl>'s C<info()> method calls. Note that this
only works for LWP::UserAgent versions E<lt> 5.822, because this (and
probably later) versions miss debugging functions entirely.
diff --git a/lib/Log/Log4perl/Config/Watch.pm b/lib/Log/Log4perl/Config/Watch.pm
index 0537018..c69cce5 100644
--- a/lib/Log/Log4perl/Config/Watch.pm
+++ b/lib/Log/Log4perl/Config/Watch.pm
@@ -317,7 +317,7 @@ been replaced by a new file in the meantime.
}
The parameters C<check_interval> and C<signal> limit the number of physical
-file system checks, similarily as with C<change_detected()>.
+file system checks, similarly as with C<change_detected()>.
=head1 LICENSE
diff --git a/lib/Log/Log4perl/Layout/PatternLayout.pm b/lib/Log/Log4perl/Layout/PatternLayout.pm
index b9c5c4f..f0d5da1 100644
--- a/lib/Log/Log4perl/Layout/PatternLayout.pm
+++ b/lib/Log/Log4perl/Layout/PatternLayout.pm
@@ -611,7 +611,7 @@ just like in I<printf>:
Some placeholders have special functions defined if you add curlies
with content after them:
- %c{1} Just show the right-most category compontent, useful in large
+ %c{1} Just show the right-most category component, useful in large
class hierarchies (Foo::Baz::Bar -> Bar)
%c{2} Just show the two right most category components
(Foo::Baz::Bar -> Baz::Bar)
|