* eoLogger.h: indentation

This commit is contained in:
Caner Candan 2011-05-11 12:06:54 +02:00
commit e103f4f29e

View file

@ -158,12 +158,12 @@ public:
* Use this function if you want to be able to compare selected levels to a given one, like: * Use this function if you want to be able to compare selected levels to a given one, like:
* if( eo::log.getLevelSelected() >= eo::progress ) {...} * if( eo::log.getLevelSelected() >= eo::progress ) {...}
*/ */
eo::Levels getLevelSelected() const { return _selectedLevel; } inline eo::Levels getLevelSelected() const { return _selectedLevel; }
/*! Returns the current level of the context /*! Returns the current level of the context
* the one given when you output message with the logger * the one given when you output message with the logger
*/ */
eo::Levels getLevelContext() const { return _contextLevel; } inline eo::Levels getLevelContext() const { return _contextLevel; }
protected: protected:
void addLevel(std::string name, eo::Levels level); void addLevel(std::string name, eo::Levels level);
@ -176,9 +176,7 @@ private:
class outbuf : public std::streambuf class outbuf : public std::streambuf
{ {
public: public:
outbuf(const int& fd, outbuf(const int& fd, const eo::Levels& contexlvl, const eo::Levels& selectedlvl);
const eo::Levels& contexlvl,
const eo::Levels& selectedlvl);
protected: protected:
virtual int overflow(int_type c); virtual int overflow(int_type c);
private: private:
@ -258,7 +256,6 @@ namespace eo
extern eoLogger log; extern eoLogger log;
} }
/** @} */ /** @} */
#endif // !eoLogger_h #endif // !eoLogger_h