< prev index next >

src/share/vm/logging/logDecorators.hpp

Print this page
rev 8933 : 8046148.01

*** 19,30 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #ifndef SHARE_VM_LOGGING_LOGDECORATORS_HPP_ ! #define SHARE_VM_LOGGING_LOGDECORATORS_HPP_ #include "utilities/globalDefinitions.hpp" // The list of available decorators: // time - Current time and date in ISO-8601 format // uptime - Time since the start of the JVM in seconds and milliseconds (e.g., 6.567s) --- 19,32 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #ifndef SHARE_VM_LOGGING_LOGDECORATORS_HPP ! #define SHARE_VM_LOGGING_LOGDECORATORS_HPP ! ! #include "memory/allocation.hpp" #include "utilities/globalDefinitions.hpp" // The list of available decorators: // time - Current time and date in ISO-8601 format // uptime - Time since the start of the JVM in seconds and milliseconds (e.g., 6.567s)
*** 50,60 **** // LogDecorators represents a selection of decorators that should be prepended to // each log message for a given output. Decorators are always prepended in the order // declared above. For example, logging with 'uptime, level, tags' decorators results in: // [0,943s][info ][logging] message. ! class LogDecorators { public: enum Decorator { #define DECORATOR(name, abbr) name##_decorator, DECORATOR_LIST #undef DECORATOR --- 52,62 ---- // LogDecorators represents a selection of decorators that should be prepended to // each log message for a given output. Decorators are always prepended in the order // declared above. For example, logging with 'uptime, level, tags' decorators results in: // [0,943s][info ][logging] message. ! class LogDecorators VALUE_OBJ_CLASS_SPEC { public: enum Decorator { #define DECORATOR(name, abbr) name##_decorator, DECORATOR_LIST #undef DECORATOR
*** 98,103 **** } bool parse(const char* decorator_args, outputStream* errstream = NULL); }; ! #endif --- 100,105 ---- } bool parse(const char* decorator_args, outputStream* errstream = NULL); }; ! #endif // SHARE_VM_LOGGING_LOGDECORATORS_HPP
< prev index next >