7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24 #ifndef SHARE_VM_LOGGING_LOGDECORATORS_HPP
25 #define SHARE_VM_LOGGING_LOGDECORATORS_HPP
26
27 #include "memory/allocation.hpp"
28 #include "utilities/globalDefinitions.hpp"
29
30 // The list of available decorators:
31 // time - Current time and date in ISO-8601 format
32 // uptime - Time since the start of the JVM in seconds and milliseconds (e.g., 6.567s)
33 // timemillis - The same value as generated by System.currentTimeMillis()
34 // uptimemillis - Milliseconds since the JVM started
35 // timenanos - The same value as generated by System.nanoTime()
36 // uptimenanos - Nanoseconds since the JVM started
37 // hostname - The hostname
38 // pid - The process identifier
39 // tid - The thread identifier
40 // level - The level associated with the log message
41 // tags - The tag-set associated with the log message
42 #define DECORATOR_LIST \
43 DECORATOR(time, t) \
44 DECORATOR(utctime, utc) \
45 DECORATOR(uptime, u) \
46 DECORATOR(timemillis, tm) \
47 DECORATOR(uptimemillis, um) \
|
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24 #ifndef SHARE_VM_LOGGING_LOGDECORATORS_HPP
25 #define SHARE_VM_LOGGING_LOGDECORATORS_HPP
26
27 #include "utilities/globalDefinitions.hpp"
28
29 // The list of available decorators:
30 // time - Current time and date in ISO-8601 format
31 // uptime - Time since the start of the JVM in seconds and milliseconds (e.g., 6.567s)
32 // timemillis - The same value as generated by System.currentTimeMillis()
33 // uptimemillis - Milliseconds since the JVM started
34 // timenanos - The same value as generated by System.nanoTime()
35 // uptimenanos - Nanoseconds since the JVM started
36 // hostname - The hostname
37 // pid - The process identifier
38 // tid - The thread identifier
39 // level - The level associated with the log message
40 // tags - The tag-set associated with the log message
41 #define DECORATOR_LIST \
42 DECORATOR(time, t) \
43 DECORATOR(utctime, utc) \
44 DECORATOR(uptime, u) \
45 DECORATOR(timemillis, tm) \
46 DECORATOR(uptimemillis, um) \
|