/** * * \section COPYRIGHT * * Copyright 2013-2021 Software Radio Systems Limited * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the distribution. * */ #ifndef SRSLOG_SHARED_TYPES_H #define SRSLOG_SHARED_TYPES_H #include #include namespace srslog { /// Generic error handler callback. using error_handler = std::function; /// Backend priority levels. enum class backend_priority { /// Default priority of the operating system. normal, /// Thread will be given a high priority. high, /// Thread will be given a very high priority. very_high }; /// syslog log local types enum class syslog_local_type { local0, local1, local2, local3, local4, local5, local6, local7, }; } // namespace srslog #endif // SRSLOG_SHARED_TYPES_H