mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-23 07:09:23 +00:00
helper: fix GUI log reset message
This commit is contained in:
parent
0e15f0a73a
commit
d1a4d66268
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ impl Helper {
|
||||||
let len = output.len();
|
let len = output.len();
|
||||||
if len > GUI_OUTPUT_LEEWAY {
|
if len > GUI_OUTPUT_LEEWAY {
|
||||||
info!("{} Watchdog | Output is nearing {} bytes, resetting!", name, MAX_GUI_OUTPUT_BYTES);
|
info!("{} Watchdog | Output is nearing {} bytes, resetting!", name, MAX_GUI_OUTPUT_BYTES);
|
||||||
let text = format!("{}\n{} GUI log is exceeding the maximum: {} bytes!\nI've reset the logs for you!\n{}\n\n\n\n", name, HORI_CONSOLE, MAX_GUI_OUTPUT_BYTES, HORI_CONSOLE);
|
let text = format!("{}\n{} GUI log is exceeding the maximum: {} bytes!\nI've reset the logs for you!\n{}\n\n\n\n", HORI_CONSOLE, name, MAX_GUI_OUTPUT_BYTES, HORI_CONSOLE);
|
||||||
output.clear();
|
output.clear();
|
||||||
output.push_str(&text);
|
output.push_str(&text);
|
||||||
debug!("{} Watchdog | Resetting GUI output ... OK", name);
|
debug!("{} Watchdog | Resetting GUI output ... OK", name);
|
||||||
|
|
Loading…
Reference in a new issue