32 #include <Ice/ProxyHandle.h>
33 #include <IceUtil/Time.h>
58 typedef ::IceInternal::ProxyHandle< ::IceProxy::armarx::Log>
LogPrx;
81 using CoutType = std::basic_ostream<char, std::char_traits<char> >;
105 static void setProxy(
const std::string& componentName,
LogPrx logProxy);
106 static void SetComponentName(
const std::string& componentName);
107 static void SetLoggingGroup(
const std::string& loggingGroup);
150 static std::string GetColorCodeString(
MessageTypeT verbosityLevel);
151 static std::string GetColorCodeString(ConsoleColor colorCode);
153 static std::string CreateBackTrace(
int linesToSkip = 1);
202 static MessageTypeT StringToLevel(
const std::string& typeStr);
210 static void SetGlobalMinimumLoggingLevel(
MessageTypeT level);
217 static void SetLoggingActivated(
bool activated =
true,
bool showMessage =
true);
218 static void SetSendLoggingActivated(
bool activated =
true);
220 static void SetColoredConsoleActivated(
bool activated =
true);
221 static long getThreadId();
222 static long getProcessId();
223 template <
typename T>
225 static std::string CropFunctionName(
const std::string& originalFunctionName);
243 void resetLocation();
245 std::stringstream currentMessage;
248 std::unique_ptr<Impl> impl;