package org.eluder.logback.ext.core; /* * #[license] * logback-ext-core * %% * Copyright (C) 2014 - 2015 Tapio Rautonen * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. * %[license] */ public class FieldNames { public static final String IGNORE_NAME = "[ignore]"; private String timeStamp = "timeStamp"; private String level = "level"; private String levelValue = "levelValue"; private String threadName = "thread"; private String loggerName = "logger"; private String message = "message"; private String formattedMessage = "formattedMessage"; private String stackTrace = "stackTrace"; private String callerData = "caller"; private String callerClass = "class"; private String callerMethod = "method"; private String callerFile = "file"; private String callerLine = "line"; private String mdc = "mdc"; private String marker = "marker"; public String getTimeStamp() { return timeStamp; } public void setTimeStamp(String timeStamp) { this.timeStamp = timeStamp; } public String getLevel() { return level; } public void setLevel(String level) { this.level = level; } public String getLevelValue() { return levelValue; } public void setLevelValue(String levelValue) { this.levelValue = levelValue; } public String getThreadName() { return threadName; } public void setThreadName(String threadName) { this.threadName = threadName; } public String getLoggerName() { return loggerName; } public void setLoggerName(String loggerName) { this.loggerName = loggerName; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public String getFormattedMessage() { return formattedMessage; } public void setFormattedMessage(String formattedMessage) { this.formattedMessage = formattedMessage; } public String getStackTrace() { return stackTrace; } public void setStackTrace(String stackTrace) { this.stackTrace = stackTrace; } public String getCallerData() { return callerData; } public void setCallerData(String callerData) { this.callerData = callerData; } public String getCallerClass() { return callerClass; } public void setCallerClass(String callerClass) { this.callerClass = callerClass; } public String getCallerMethod() { return callerMethod; } public void setCallerMethod(String callerMethod) { this.callerMethod = callerMethod; } public String getCallerFile() { return callerFile; } public void setCallerFile(String callerFile) { this.callerFile = callerFile; } public String getCallerLine() { return callerLine; } public void setCallerLine(String callerLine) { this.callerLine = callerLine; } public String getMdc() { return mdc; } public void setMdc(String mdc) { this.mdc = mdc; } public String getMarker() { return marker; } public void setMarker(String marker) { this.marker = marker; } }