Loading...
Searching...
No Matches
XrdOssStatsConfig.hh
Go to the documentation of this file.
#ifndef __XRDOSSSTATS_CONFIG_H
#define __XRDOSSSTATS_CONFIG_H
#include <chrono>
#include <string>
namespace XrdOssStats {
namespace detail {
enum LogMask {
Debug = 0x01,
Info = 0x02,
Warning = 0x04,
Error = 0x08,
All = 0xff
};
std::string LogMaskToString(int mask);
bool ParseDuration(const std::string &duration, std::chrono::steady_clock::duration &result, std::string &errmsg);
} // detail
} // namespace XrdOssStats
#endif // __XRDOSSSTATS_CONFIG_H
XrdOssStats::detail
Definition XrdOssStatsConfig.hh:10
XrdOssStats::detail::LogMask
LogMask
Definition XrdOssStatsConfig.hh:12
XrdOssStats::detail::All
@ All
Definition XrdOssStatsConfig.hh:17
XrdOssStats::detail::Error
@ Error
Definition XrdOssStatsConfig.hh:16
XrdOssStats::detail::Warning
@ Warning
Definition XrdOssStatsConfig.hh:15
XrdOssStats::detail::Debug
@ Debug
Definition XrdOssStatsConfig.hh:13
XrdOssStats::detail::Info
@ Info
Definition XrdOssStatsConfig.hh:14
XrdOssStats::detail::ParseDuration
bool ParseDuration(const std::string &duration, std::chrono::steady_clock::duration &result, std::string &errmsg)
Definition XrdOssStatsConfig.cc:38
XrdOssStats::detail::LogMaskToString
std::string LogMaskToString(int mask)
Definition XrdOssStatsConfig.cc:10
XrdOssStats
Definition XrdOssStatsConfig.hh:8