summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/main/java/org/openecomp/sdc/common/log/enums/LogMarkers.java
blob: 5623294b3d7770a0ac7a442084afe296a3639b7b (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.log.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;
    }

}