mirror of
https://github.com/esphome/esphome.git
synced 2026-08-24 07:06:20 +00:00
[logger] flush lines for host logger (#17878)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
co-authored by
Samuel Sieb
parent
580b3a1a69
commit
e209bbb5ae
@@ -21,6 +21,7 @@ void HOT Logger::write_msg_(const char *msg, uint16_t len) {
|
||||
|
||||
// Single write for everything
|
||||
fwrite(buffer, 1, pos, stdout);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
void Logger::pre_setup() { global_logger = this; }
|
||||
|
||||
Reference in New Issue
Block a user