Factor out UptimeTimer from LoadManager

This commit is contained in:
Vinnie Falco
2013-05-25 10:51:04 -07:00
parent d0f75ccda1
commit 4cb44a8915
5 changed files with 79 additions and 34 deletions

View File

@@ -55,6 +55,15 @@ public:
static std::vector< std::pair<std::string, std::string> > getSeverities();
private:
/** Retrieve file name from a log partition.
Key must have this shape:
struct Key
{
static char const* getFileName ();
};
*/
template <class Key>
inline static LogPartition getFileName ()
{