mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Factor out UptimeTimer from LoadManager
This commit is contained in:
@@ -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 ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user