Parcourir la source

[1704] Update comment about using locking in the logger

Mukund Sivaraman il y a 13 ans
Parent
commit
8b555fcb29
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/lib/log/logger_impl.cc

+ 2 - 2
src/lib/log/logger_impl.cc

@@ -116,8 +116,8 @@ LoggerImpl::lookupMessage(const MessageID& ident) {
 
 void
 LoggerImpl::outputRaw(const Severity& severity, const string& message) {
-    // Use a lock file for mutual exclusion from other processes to
-    // avoid log messages getting interspersed
+    // Use an interprocess sync locker for mutual exclusion from other
+    // processes to avoid log messages getting interspersed.
 
     InterprocessSyncLocker locker(*sync_);