AWS SDK for C++AWS SDK for C++ Version 1.11.932 |
#include <LogSystemInterface.h>
Public Member Functions | |
| virtual | ~LogSystemInterface ()=default |
| virtual LogLevel | GetLogLevel (void) const =0 |
| virtual void | Log (LogLevel logLevel, const char *tag, const char *formatStr,...)=0 |
| virtual void | vaLog (LogLevel logLevel, const char *tag, const char *formatStr, va_list args)=0 |
| virtual void | LogStream (LogLevel logLevel, const char *tag, const Aws::OStringStream &messageStream)=0 |
| virtual void | Flush ()=0 |
| virtual void | Stop () |
Interface for logging implementations. If you want to write your own logger, you can start here, though you may have more luck going down one more level to FormattedLogSystem. It does a bit more of the work for you and still gives you the ability to override the IO portion.
Definition at line 26 of file LogSystemInterface.h.
|
virtualdefault |
|
pure virtual |
Writes any buffered messages to the underlying device if the logger supports buffering.
Implemented in Aws::Utils::Logging::ConsoleLogSystem, Aws::Utils::Logging::DefaultLogSystem, and Aws::Utils::Logging::NullLogSystem.
|
pure virtual |
Gets the currently configured log level for this logger.
Implemented in Aws::Utils::Logging::FormattedLogSystem, and Aws::Utils::Logging::NullLogSystem.
|
pure virtual |
Does a printf style output to the output stream. Don't use this, it's unsafe. See LogStream
Implemented in Aws::Utils::Logging::FormattedLogSystem, and Aws::Utils::Logging::NullLogSystem.
|
pure virtual |
Writes the stream to the output stream.
Implemented in Aws::Utils::Logging::FormattedLogSystem, and Aws::Utils::Logging::NullLogSystem.
|
inlinevirtual |
Stops logging on this logger without destroying the object.
Reimplemented in Aws::Utils::Logging::DefaultLogSystem, and Aws::Utils::Logging::FormattedLogSystem.
Definition at line 54 of file LogSystemInterface.h.
|
pure virtual |
va_list overload for Log, avoid using this as well.
Implemented in Aws::Utils::Logging::FormattedLogSystem, and Aws::Utils::Logging::NullLogSystem.