XRootD
Loading...
Searching...
No Matches
XrdOssStatsConfig.hh
Go to the documentation of this file.
1
2#ifndef __XRDOSSSTATS_CONFIG_H
3#define __XRDOSSSTATS_CONFIG_H
4
5#include <chrono>
6#include <string>
7
8namespace XrdOssStats {
9
10namespace detail {
11
12enum LogMask {
13 Debug = 0x01,
14 Info = 0x02,
15 Warning = 0x04,
16 Error = 0x08,
17 All = 0xff
18};
19
20std::string LogMaskToString(int mask);
21
22bool ParseDuration(const std::string &duration, std::chrono::steady_clock::duration &result, std::string &errmsg);
23
24} // detail
25
26} // namespace XrdOssStats
27
28#endif // __XRDOSSSTATS_CONFIG_H
bool ParseDuration(const std::string &duration, std::chrono::steady_clock::duration &result, std::string &errmsg)
std::string LogMaskToString(int mask)