aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/Enums/LogMarkers.java
blob: b26e8c105d0c5cd4eef2a8a6fb4c0718d9446400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.openecomp.sdc.common.ecomplog.Enums;

/**
 * Created by mm288v on 12/27/2017.
 * This enum reflects the Marker text in logback.xml file per each ecomp marker
 */
public enum LogMarkers {
    DEBUG_MARKER("DEBUG_MARKER"),
    ERROR_MARKER("ERROR_MARKER"),
    AUDIT_MARKER("AUDIT_MARKER"),
    METRIC_MARKER("METRICS");

    private String text;

    LogMarkers (String text){
        this.text = text;
    }

    public String text(){
        return text;
    }

}