AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
LogSystemInterface.h
Go to the documentation of this file.
1
6#pragma once
7
9
12
13namespace Aws
14{
15 namespace Utils
16 {
17 namespace Logging
18 {
19 enum class LogLevel : int;
20
27 {
28 public:
29 virtual ~LogSystemInterface() = default;
30
34 virtual LogLevel GetLogLevel(void) const = 0;
38 virtual void Log(LogLevel logLevel, const char* tag, const char* formatStr, ...) = 0;
42 virtual void LogStream(LogLevel logLevel, const char* tag, const Aws::OStringStream &messageStream) = 0;
46 virtual void Flush() = 0;
47 };
48
49 } // namespace Logging
50 } // namespace Utils
51} // namespace Aws
#define AWS_CORE_API
Definition: Core_EXPORTS.h:26
virtual LogLevel GetLogLevel(void) const =0
virtual void LogStream(LogLevel logLevel, const char *tag, const Aws::OStringStream &messageStream)=0
virtual void Log(LogLevel logLevel, const char *tag, const char *formatStr,...)=0
std::basic_ostringstream< char, std::char_traits< char >, Aws::Allocator< char > > OStringStream