X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Filogger.h;h=c89f9213b472b1a8763779697d0bde8d847fb97e;hb=18ba5c0014514a8248a77dd36d8ee8d9acc3227b;hp=7c9158587c7f698ef56fdeea02fe6bf6e40cb515;hpb=e76495e33c8a48c2e2cd2cb24d99783d22dff67e;p=evaf diff --git a/src/libs/Common/ilogger.h b/src/libs/Common/ilogger.h index 7c91585..c89f921 100644 --- a/src/libs/Common/ilogger.h +++ b/src/libs/Common/ilogger.h @@ -3,7 +3,7 @@ * @brief Logger interface for eVaf * @author Enar Vaikene * - * Copyright (c) 2011 Enar Vaikene + * Copyright (c) 2011-2012 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * @@ -62,7 +62,8 @@ public: Error, ///< Unexpected issues in the software that could be solved automatically. Warning, ///< Expected issues in the software that will be solved automatically. Info, ///< General information output by the application or modules. - Debug ///< Information for debugging purposes. + Debug, ///< Information for debugging purposes. + Count ///< Number of severity levels }; /// Interface constructor @@ -92,6 +93,8 @@ public: * * Use the setDefaultSource() function to change the default source name. If not set, then * uses the default source name "common". + * + * Changing the name of the default source resets any other settings set for the default source. */ virtual void setDefaultSource(QString const & source) = 0; @@ -240,7 +243,7 @@ signals: * your receiver to this signal if you want to add your own message handling. For example, * use this signal to show messages in a log window etc. */ - void loggerEvent(eVaf::Common::iLogger::Severity severity, QString const & text, QString const & source, QString const & where); + void loggerEvent(Common::iLogger::Severity severity, QString const & text, QString const & source, QString const & where); };