IfcLogger: convenience shorthands Notice(), Warnings() and Error()

This commit is contained in:
Stinkfist0
2017-02-24 15:01:54 +02:00
committed by Thomas Krijnen
parent 8e44290341
commit b058647d46
2 changed files with 18 additions and 15 deletions
+3
View File
@@ -55,6 +55,9 @@ public:
static Severity Verbosity();
/// Log a message to the output stream
static void Message(Severity type, const std::string& message, IfcAbstractEntity* entity=0);
static void Notice(const std::string& message, IfcAbstractEntity* entity = 0) { Message(LOG_NOTICE, message, entity); }
static void Warning(const std::string& message, IfcAbstractEntity* entity=0) { Message(LOG_WARNING, message, entity); }
static void Error(const std::string& message, IfcAbstractEntity* entity=0) { Message(LOG_ERROR, message, entity); }
static void Status(const std::string& message, bool new_line=true);
static void ProgressBar(int progress);
static std::string GetLog();