// Interface for a log output method class Logger { public: virtual ~Logger() {}; virtualvoid Output(constchar *str) = 0; virtualvoid Output(constchar *format, va_list arg_list) = 0;
};
// Singleton used to log messages to an arbitrary output class Log { public: enumclass LogLevel { // Use with SetLevel to disable logging
Disable,
Error,
Warn,
Info,
Debug,
};
// Define the logging mechanism and minimum log level that will be printed staticvoid Initialize(Logger *logger, LogLevel level);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.