|
Ion
|
This class prints a message only if the passed file_name and line_number has not printed a message in a certain amount of time.
More...
#include "logging.h"
Public Member Functions | |
| ThrottledLogger (const char *file_name, int line_number, port::LogSeverity severity, float seconds) | |
| ~ThrottledLogger () | |
| std::ostream & | GetStream () |
| Return the stream to which output is sent (or accumulated). More... | |
This class prints a message only if the passed file_name and line_number has not printed a message in a certain amount of time.
Any creations with the same parameters (regardless of severity) within that time window will not print a message.
| ion::base::logging_internal::ThrottledLogger::ThrottledLogger | ( | const char * | file_name, |
| int | line_number, | ||
| port::LogSeverity | severity, | ||
| float | seconds | ||
| ) |
Definition at line 170 of file logging.cc.
| ion::base::logging_internal::ThrottledLogger::~ThrottledLogger | ( | ) |
Definition at line 176 of file logging.cc.
| std::ostream & ion::base::logging_internal::ThrottledLogger::GetStream | ( | ) |
Return the stream to which output is sent (or accumulated).
Definition at line 178 of file logging.cc.