100 // Intended for mappings between -XX: flags and Unified Logging configuration. |
100 // Intended for mappings between -XX: flags and Unified Logging configuration. |
101 // If exact_match is true, only tagsets with precisely the specified tags will be configured |
101 // If exact_match is true, only tagsets with precisely the specified tags will be configured |
102 // (exact_match=false is the same as "-Xlog:<tags>*=<level>", and exact_match=true is "-Xlog:<tags>=<level>"). |
102 // (exact_match=false is the same as "-Xlog:<tags>*=<level>", and exact_match=true is "-Xlog:<tags>=<level>"). |
103 // Tags should be specified using the LOG_TAGS macro, e.g. |
103 // Tags should be specified using the LOG_TAGS macro, e.g. |
104 // LogConfiguration::configure_stdout(LogLevel::<level>, <true/false>, LOG_TAGS(<tags>)); |
104 // LogConfiguration::configure_stdout(LogLevel::<level>, <true/false>, LOG_TAGS(<tags>)); |
105 static void configure_stdout(LogLevelType level, bool exact_match, ...); |
105 static void configure_stdout(LogLevelType level, int exact_match, ...); |
106 |
106 |
107 // Parse command line configuration. Parameter 'opts' is the string immediately following the -Xlog: argument ("gc" for -Xlog:gc). |
107 // Parse command line configuration. Parameter 'opts' is the string immediately following the -Xlog: argument ("gc" for -Xlog:gc). |
108 static bool parse_command_line_arguments(const char* opts = "all"); |
108 static bool parse_command_line_arguments(const char* opts = "all"); |
109 |
109 |
110 // Parse separated configuration arguments (from JCmd/MBean and command line). |
110 // Parse separated configuration arguments (from JCmd/MBean and command line). |