3#include "ThrottledConsumer.h"
22 static void initialize() { instance(); }
23 void setUseColor(
bool set_use_color) { use_color = set_use_color; }
26 bool use_color =
true;
28 virtual void outputMessage(
const std::string& prefix,
const Message& message)
override;
Console logger that supports splitting log lines between stdout and stderr according to severity.
ThrottledConsumer is a log message consumer that attempts to throttle messages to reduce log spam.
Contains logging functionality for the Cogs native library.