mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
allow end user dynamic tests
This commit is contained in:
@@ -98,14 +98,13 @@ public:
|
||||
return ((channel & m_static_channels) != 0);
|
||||
}
|
||||
|
||||
bool dynamic_test(level channel) {
|
||||
return ((channel & m_dynamic_channels) != 0);
|
||||
}
|
||||
private:
|
||||
typedef typename concurrency::scoped_lock_type scoped_lock_type;
|
||||
typedef typename concurrency::mutex_type mutex_type;
|
||||
|
||||
bool dynamic_test(level channel) {
|
||||
return ((channel & m_dynamic_channels) != 0);
|
||||
}
|
||||
|
||||
const char* get_timestamp() {
|
||||
std::time_t t = std::time(NULL);
|
||||
std::strftime(buffer,39,"%Y-%m-%d %H:%M:%S%z",std::localtime(&t));
|
||||
|
||||
Reference in New Issue
Block a user