15 #include "rmsauthExport.h" 
   22     template<
typename T, 
typename... Args>
 
   23     static void record(
const String& category, 
const String& tag, 
const String& record, T value, Args... args);
 
   25     template<
typename T, 
typename... Args>
 
   26     static void info(
const String& tag, 
const String& record, T value, Args... args);
 
   28     template<
typename T, 
typename... Args>
 
   29     static void warning(
const String& tag, 
const String& record, T value, Args... args);
 
   32     template<
typename T, 
typename... Args>
 
   33     static void error(
const String& tag, 
const String& record, T value, Args... args);
 
   35     static void record(
const String& category, 
const String& tag, 
const String& record);
 
   36     static void info(
const String& tag, 
const String& record);
 
   38     static void hidden(
const String& tag, 
const String& record);
 
   39     static void warning(
const String& tag, 
const String& record);
 
   40     static void error(
const String& tag, 
const String& record);
 
   44     virtual void append(
const String& category, 
const String& tag, 
const String& record) = 0;
 
   49     static void printf(StringStream& ss, 
const char *s);
 
   51     template<
typename T, 
typename... Args>
 
   52     static void printf(StringStream& ss, 
const char *s, T value, Args... args);
 
   55 template<
typename T, 
typename... Args>
 
   56 void Logger::record(
const String& category, 
const String& tag, 
const String& record, T value, Args... args)
 
   59     Logger::printf(ss, record.c_str(), value, args...);
 
   60     Logger::instance().append(category, tag, ss.str());
 
   63 template<
typename T, 
typename... Args>
 
   64 void Logger::info(
const String& tag, 
const String& record, T value, Args... args)
 
   66     Logger::record(
"INF", tag, record, value, args...);
 
   69 template<
typename T, 
typename... Args>
 
   70 void Logger::warning(
const String& tag, 
const String& record, T value, Args... args)
 
   72     Logger::record(
"WRN", tag, record, value, args...);
 
   75 template<
typename T, 
typename... Args>
 
   76 void Logger::error(
const String& tag, 
const String& record, T value, Args... args)
 
   78     Logger::record(
"ERR", tag, record, value, args...);
 
   81 template<
typename T, 
typename... Args>
 
   82 void Logger::printf(StringStream& ss, 
const char *s, T value, Args... args)
 
   96                 Logger::printf(ss, s, args...); 
 
  110     virtual void append(
const String& category, 
const String& tag, 
const String& record) 
override;
 
  111     static String getLocalTime(
const String& format);
 
  116     std::ofstream stream_;
 
static void hidden(const String &tag, const String &record)
to enable these records - set environment variable: export RMS_HIDDEN_LOG=ON 
Definition: AcquireTokenForClientHandler.h:14