30 #if defined(__linux__) or defined(__APPLE__) 41 #
if defined(__linux__) or defined(__APPLE__)
42 canUseSGRs(isatty(1) && isatty(2))
53 return "ConsoleLoggingSystem";
A simple logger that uses cout and cerr for logging.
static ConsoleLoggingSystem * create(const runtime::Properties &properties)
const std::string getName() const
Return the name of the logging system.
virtual ~ConsoleLoggingSystem()
Default logging system using the console for output.
LoggerPtr createLogger(const std::string &name)
Factory method to create a new system-specific logger.
if(INIT_METHOD_ATTRIBUTE_CONSTRUCTOR) set(INIT_METHOD_NAME RSC_HAVE_INIT_METHOD_ATTRIBUTE_CONSTRUCTOR) elseif(INIT_METHOD_CRT) set(INIT_METHOD_NAME RSC_HAVE_INIT_METHOD_CRT) else() set(INIT_METHOD_NAME RSC_HAVE_NO_INIT_METHOD_ERROR) endif() string(REPLACE".""_"RSC_EXPORTS_NAME $
Properties objects are basically glorified map<string, boost::any> objects.
boost::shared_ptr< Logger > LoggerPtr