< prev index next >
src/share/vm/logging/logLevel.hpp
Print this page
rev 8933 : 8046148.01
*** 21,30 ****
--- 21,32 ----
* questions.
*
*/
#ifndef SHARE_VM_LOGGING_LOGLEVEL_HPP
#define SHARE_VM_LOGGING_LOGLEVEL_HPP
+
+ #include "memory/allocation.hpp"
#include "utilities/macros.hpp"
// The list of log levels:
//
// develop - A non-product level that is finer than trace.
*** 52,62 ****
LOG_LEVEL(Debug, debug) \
LOG_LEVEL(Info, info) \
LOG_LEVEL(Warning, warning) \
LOG_LEVEL(Error, error)
! class LogLevel {
public:
enum type {
Off,
#define LOG_LEVEL(name, printname) name,
LOG_LEVEL_LIST
--- 54,64 ----
LOG_LEVEL(Debug, debug) \
LOG_LEVEL(Info, info) \
LOG_LEVEL(Warning, warning) \
LOG_LEVEL(Error, error)
! class LogLevel : public AllStatic {
public:
enum type {
Off,
#define LOG_LEVEL(name, printname) name,
LOG_LEVEL_LIST
*** 79,84 ****
static const char* _name[];
};
typedef LogLevel::type LogLevelType;
! #endif
--- 81,86 ----
static const char* _name[];
};
typedef LogLevel::type LogLevelType;
! #endif // SHARE_VM_LOGGING_LOGLEVEL_HPP
< prev index next >