hotspot/src/share/vm/logging/logLevel.hpp
changeset 34252 59d76c40998a
parent 33097 96e348cb0442
child 34316 4d876653d940
equal deleted inserted replaced
34251:0ce22a6d7d8c 34252:59d76c40998a
    27 #include "memory/allocation.hpp"
    27 #include "memory/allocation.hpp"
    28 #include "utilities/macros.hpp"
    28 #include "utilities/macros.hpp"
    29 
    29 
    30 // The list of log levels:
    30 // The list of log levels:
    31 //
    31 //
    32 //  develop - A non-product level that is finer than trace.
    32 //  trace   - Finest level of logging. Use for extensive/noisy
    33 //            Should be used for really expensive and/or
    33 //            logging that can give slow-down when enabled.
    34 //            extensive logging, or logging that shouldn't
       
    35 //            or can't be included in a product build.
       
    36 //
       
    37 //  trace   - Finest level of logging in product builds.
       
    38 //            Use for extensive/noisy logging that can
       
    39 //            give slow-down when enabled.
       
    40 //
    34 //
    41 //  debug   - A finer level of logging. Use for semi-noisy
    35 //  debug   - A finer level of logging. Use for semi-noisy
    42 //            logging that is does not fit the info level.
    36 //            logging that is does not fit the info level.
    43 //
    37 //
    44 //  info    - General level of logging. Use for significant
    38 //  info    - General level of logging. Use for significant
    47 //  warning - Important messages that are not strictly errors.
    41 //  warning - Important messages that are not strictly errors.
    48 //
    42 //
    49 //  error   - Critical messages caused by errors.
    43 //  error   - Critical messages caused by errors.
    50 //
    44 //
    51 #define LOG_LEVEL_LIST \
    45 #define LOG_LEVEL_LIST \
    52   NOT_PRODUCT(LOG_LEVEL(Develop, develop)) \
       
    53   LOG_LEVEL(Trace, trace) \
    46   LOG_LEVEL(Trace, trace) \
    54   LOG_LEVEL(Debug, debug) \
    47   LOG_LEVEL(Debug, debug) \
    55   LOG_LEVEL(Info, info) \
    48   LOG_LEVEL(Info, info) \
    56   LOG_LEVEL(Warning, warning) \
    49   LOG_LEVEL(Warning, warning) \
    57   LOG_LEVEL(Error, error)
    50   LOG_LEVEL(Error, error)