File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 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)
9393 char buff[1024 ];
9494 size_t len = 0 ;
9595
96- udpateTimestampStr (content.timestamp .sec );
96+ updateTimestampStr (content.timestamp .sec );
9797
9898 // ! 开启色彩,显示日志等级
9999 if (enable_color_) {
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ void Sink::handleLog(const LogContent *content)
102102 onLogFrontEnd (content);
103103}
104104
105- void Sink::udpateTimestampStr (uint32_t sec)
105+ void Sink::updateTimestampStr (uint32_t sec)
106106{
107107 if (timestamp_sec_ != sec) {
108108 time_t ts_sec = sec;
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class Sink {
5656 static void HandleLog (const LogContent *content, void *ptr);
5757 bool filter (int level, const std::string &module );
5858
59- void udpateTimestampStr (uint32_t sec);
59+ void updateTimestampStr (uint32_t sec);
6060
6161 protected:
6262 bool enable_color_ = false ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace log {
2727
2828void SyncStdoutSink::onLogFrontEnd (const LogContent *content)
2929{
30- udpateTimestampStr (content->timestamp .sec );
30+ updateTimestampStr (content->timestamp .sec );
3131
3232 // ! 开启色彩,显示日志等级
3333 if (enable_color_)
You can’t perform that action at this time.
0 commit comments