aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger/global/common.h
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/logger/global/common.h
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
downloadydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger/global/common.h')
-rw-r--r--library/cpp/logger/global/common.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/logger/global/common.h b/library/cpp/logger/global/common.h
index c794933216..7dcf650dec 100644
--- a/library/cpp/logger/global/common.h
+++ b/library/cpp/logger/global/common.h
@@ -69,7 +69,7 @@ namespace NLoggingImpl {
TString GetLocalTimeSSimple();
// Returns correct log type to use
- TString PrepareToOpenLog(TString logType, int logLevel, bool rotation, bool startAsDaemon);
+ TString PrepareToOpenLog(TString logType, int logLevel, bool rotation, bool startAsDaemon);
template <class TLoggerType>
void InitLogImpl(TString logType, const int logLevel, const bool rotation, const bool startAsDaemon) {
@@ -78,11 +78,11 @@ namespace NLoggingImpl {
}
struct TLogRecordContext {
- constexpr TLogRecordContext(const TSourceLocation& sourceLocation, TStringBuf customMessage, ELogPriority priority)
- : SourceLocation(sourceLocation)
- , CustomMessage(customMessage)
- , Priority(priority)
- {}
+ constexpr TLogRecordContext(const TSourceLocation& sourceLocation, TStringBuf customMessage, ELogPriority priority)
+ : SourceLocation(sourceLocation)
+ , CustomMessage(customMessage)
+ , Priority(priority)
+ {}
TSourceLocation SourceLocation;
TStringBuf CustomMessage;