MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / LoggingFlag

Enum LoggingFlag

include/thundersvm/util/log.h:674–706  ·  view source on GitHub ↗

@brief Flags used while writing logs. This flags are set by user

Source from the content-addressed store, hash-verified

672 };
673/// @brief Flags used while writing logs. This flags are set by user
674 enum class LoggingFlag : base::type::EnumType {
675 /// @brief Makes sure we have new line for each container log entry
676 NewLineForContainer = 1,
677 /// @brief Makes sure if -vmodule is used and does not specifies a module, then verbose
678 /// logging is allowed via that module.
679 AllowVerboseIfModuleNotSpecified = 2,
680 /// @brief When handling crashes by default, detailed crash reason will be logged as well
681 LogDetailedCrashReason = 4,
682 /// @brief Allows to disable application abortion when logged using FATAL level
683 DisableApplicationAbortOnFatalLog = 8,
684 /// @brief Flushes log with every log-entry (performance sensative) - Disabled by default
685 ImmediateFlush = 16,
686 /// @brief Enables strict file rolling
687 StrictLogFileSizeCheck = 32,
688 /// @brief Make terminal output colorful for supported terminals
689 ColoredTerminalOutput = 64,
690 /// @brief Supports use of multiple logging in same macro, e.g, CLOG(INFO, "default", "network")
691 MultiLoggerSupport = 128,
692 /// @brief Disables comparing performance tracker's checkpoints
693 DisablePerformanceTrackingCheckpointComparison = 256,
694 /// @brief Disable VModules
695 DisableVModules = 512,
696 /// @brief Disable VModules extensions
697 DisableVModulesExtensions = 1024,
698 /// @brief Enables hierarchical logging
699 HierarchicalLogging = 2048,
700 /// @brief Creates logger automatically when not available
701 CreateLoggerAutomatically = 4096,
702 /// @brief Adds spaces b/w logs that separated by left-shift operator
703 AutoSpacing = 8192,
704 /// @brief Preserves time format and does not convert it to sec, hour etc (performance tracking only)
705 FixedTimeFormat = 16384
706 };
707 namespace base {
708/// @brief Namespace containing constants used internally.
709 namespace consts {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected