1 /**********************************************************************
2 * Copyright (c) 2012 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Bernd Hufmann - Initial API and implementation
11 *********************************************************************/
12 package org
.eclipse
.linuxtools
.internal
.lttng2
.core
.control
.model
;
16 * Log Level enumeration.
19 * @author Bernd Hufmann
21 @SuppressWarnings("nls")
22 public enum TraceLogLevel
{
24 // ------------------------------------------------------------------------
26 // ------------------------------------------------------------------------
27 TRACE_EMERG("TRACE_EMERG"), // 0
28 TRACE_ALERT("TRACE_ALERT"), // 1
29 TRACE_CRIT("TRACE_CRIT"), // 2
30 TRACE_ERR("TRACE_ERR"), // 3
31 TRACE_WARNING("TRACE_WARNING"), // 4
32 TRACE_NOTICE("TRACE_NOTICE"), // 5
33 TRACE_INFO("TRACE_INFO"), // 6
34 TRACE_DEBUG_SYSTEM("TRACE_DEBUG_SYSTEM"), // 7
35 TRACE_DEBUG_PROGRAM("TRACE_DEBUG_PROGRAM"), // 8
36 TRACE_DEBUG_PROCESS("TRACE_DEBUG_PROCESS"), // 9
37 TRACE_DEBUG_MODULE("TRACE_DEBUG_MODULE"), // 10
38 TRACE_DEBUG_UNIT("TRACE_DEBUG_UNIT"), // 11
39 TRACE_DEBUG_FUNCTION("TRACE_DEBUG_FUNCTION"), //12
40 TRACE_DEBUG_LINE("TRACE_DEBUG_LINE"), //13
41 TRACE_DEBUG("TRACE_DEBUG"), // 14
42 LEVEL_UNKNOWN("LEVEL_UNKNOWN"); // 15
44 // ------------------------------------------------------------------------
46 // ------------------------------------------------------------------------
50 private final String fInName
;
52 // ------------------------------------------------------------------------
54 // ------------------------------------------------------------------------
58 * @param name the name of state
60 private TraceLogLevel(String name
) {
64 // ------------------------------------------------------------------------
66 // ------------------------------------------------------------------------
70 public String
getInName() {
This page took 0.033846 seconds and 6 git commands to generate.