mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Update esphome/components/syslog/esphome_syslog.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
		| @@ -36,7 +36,7 @@ void Syslog::log_(const int level, const char *tag, const char *message, size_t | ||||
|   } | ||||
|   int pri = this->facility_ * 8 + severity; | ||||
|   auto timestamp = this->time_->now().strftime("%b %d %H:%M:%S"); | ||||
|   unsigned len = message_len; | ||||
|   size_t len = message_len; | ||||
|   // remove color formatting | ||||
|   if (this->strip_ && message[0] == 0x1B && len > 11) { | ||||
|     message += 7; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user