Class cuvis::General
#include <cuvis.hpp>
Public Static Functions
| Type | Name |
|---|---|
| void | init (std::string const & settings_path, int global_loglevel=4, std ::string logfile_name="") |
| int_t | register_event_callback (cpp_event_callback_t callback, int_t i_type) |
| void | register_log_callback (std::function< void(char const *, loglevel_t)> callback, int_t min_lvl) |
| void | register_log_callback_localized (std::function< void(wchar_t const *, loglevel_t)> callback, int_t min_lvl, std::string const & loc_id) |
| void | reset_log_callback () |
| void | reset_log_callback_localized () |
| void | set_exception_locale (std::string const & locale="") |
| void | set_log_level (int_t lvl) |
| void | shutdown () |
| void | unregister_event_callback (int_t i_handler_id) |
| std::string | version () |
Public Static Functions Documentation
function init
static void cuvis::General::init (
std::string const & settings_path,
int global_loglevel=4,
std ::string logfile_name=""
)
function register_event_callback
static int_t cuvis::General::register_event_callback (
cpp_event_callback_t callback,
int_t i_type
)
function register_log_callback
static void cuvis::General::register_log_callback (
std::function< void ( char const *, loglevel_t )> callback,
int_t min_lvl
)
function register_log_callback_localized
static void cuvis::General::register_log_callback_localized (
std::function< void ( wchar_t const *, loglevel_t )> callback,
int_t min_lvl,
std::string const & loc_id
)
function reset_log_callback
static void cuvis::General::reset_log_callback ()
function reset_log_callback_localized
static void cuvis::General::reset_log_callback_localized ()
function set_exception_locale
static void cuvis::General::set_exception_locale (
std::string const & locale=""
)
function set_log_level
static void cuvis::General::set_log_level (
int_t lvl
)
function shutdown
static void cuvis::General::shutdown ()
function unregister_event_callback
static void cuvis::General::unregister_event_callback (
int_t i_handler_id
)
function version
static std::string cuvis::General::version ()
The documentation for this class was generated from the following file cuvis.cpp/interface/cuvis.hpp