< prev index next >
src/share/vm/logging/logConfiguration.hpp
Print this page
@@ -37,10 +37,11 @@
// are iterated over and updated accordingly.
class LogConfiguration : public AllStatic {
private:
static LogOutput** _outputs;
static size_t _n_outputs;
+ static bool _initialized;
// Create a new output. Returns NULL if failed.
static LogOutput* new_output(char* name, const char* options = NULL);
// Add an output to the list of configured outputs. Returns the assigned index.
@@ -83,8 +84,15 @@
// Prints log configuration to outputStream, used by JCmd/MBean.
static void describe(outputStream* out);
// Prints usage help for command line log configuration.
static void print_command_line_help(FILE* out);
+
+ static bool is_initialized() {
+ return _initialized;
+ }
+
+ // Rotates all LogOutput
+ static void rotate_all_outputs();
};
#endif // SHARE_VM_LOGGING_LOGCONFIGURATION_HPP
< prev index next >