File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ void AsyncSink::onLogBackEnd(const LogContent &content)
93
93
char buff[1024 ];
94
94
size_t len = 0 ;
95
95
96
- udpateTimestampStr (content.timestamp .sec );
96
+ updateTimestampStr (content.timestamp .sec );
97
97
98
98
// ! 开启色彩,显示日志等级
99
99
if (enable_color_) {
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ void Sink::handleLog(const LogContent *content)
102
102
onLogFrontEnd (content);
103
103
}
104
104
105
- void Sink::udpateTimestampStr (uint32_t sec)
105
+ void Sink::updateTimestampStr (uint32_t sec)
106
106
{
107
107
if (timestamp_sec_ != sec) {
108
108
time_t ts_sec = sec;
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class Sink {
56
56
static void HandleLog (const LogContent *content, void *ptr);
57
57
bool filter (int level, const std::string &module);
58
58
59
- void udpateTimestampStr (uint32_t sec);
59
+ void updateTimestampStr (uint32_t sec);
60
60
61
61
protected:
62
62
bool enable_color_ = false ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace log {
27
27
28
28
void SyncStdoutSink::onLogFrontEnd (const LogContent *content)
29
29
{
30
- udpateTimestampStr (content->timestamp .sec );
30
+ updateTimestampStr (content->timestamp .sec );
31
31
32
32
// ! 开启色彩,显示日志等级
33
33
if (enable_color_)
You can’t perform that action at this time.
0 commit comments