Struct Preferences

Nested Relationships

Nested Types

Struct Documentation

struct Preferences

Public Types

enum class TimestampFormat

Values:

enumerator SECONDS
enumerator ELAPSED
enumerator TIME_OF_DAY

Public Functions

bool load()
void save() const

Public Members

TimestampFormat timestamp_format = TimestampFormat::SECONDS
bool show_session_boundaries = true
bool persist_filters = false
bool persist_logs = false
size_t log_rotate_size = 10 * 1024 * 1024
size_t log_max_size = 100 * 1024 * 1024
std::string workspace_dir
std::string workspace_error
struct log_view::Preferences::FilterSettings filters

Public Static Functions

static std::string workspaceDataDir(std::string *error = nullptr)
struct FilterSettings

Public Members

bool debug = true
bool info = true
bool warn = true
bool error = true
bool fatal = true
bool node_filter_enabled = false
std::string filter_pattern
std::string exclude_pattern
std::set<std::string> node_whitelist