001/*
002 * Copyright (c) 2024 QOS.ch Sarl (Switzerland)
003 * All rights reserved.
004 *
005 * Permission is hereby granted, free  of charge, to any person obtaining
006 * a  copy  of this  software  and  associated  documentation files  (the
007 * "Software"), to  deal in  the Software without  restriction, including
008 * without limitation  the rights to  use, copy, modify,  merge, publish,
009 * distribute,  sublicense, and/or sell  copies of  the Software,  and to
010 * permit persons to whom the Software  is furnished to do so, subject to
011 * the following conditions:
012 *
013 * The  above  copyright  notice  and  this permission  notice  shall  be
014 * included in all copies or substantial portions of the Software.
015 *
016 * THE  SOFTWARE IS  PROVIDED  "AS  IS", WITHOUT  WARRANTY  OF ANY  KIND,
017 * EXPRESS OR  IMPLIED, INCLUDING  BUT NOT LIMITED  TO THE  WARRANTIES OF
018 * MERCHANTABILITY,    FITNESS    FOR    A   PARTICULAR    PURPOSE    AND
019 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
020 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
021 * OF CONTRACT, TORT OR OTHERWISE,  ARISING FROM, OUT OF OR IN CONNECTION
022 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
023 *
024 *
025 *
026 */
027
028package ch.qos.logback.tyler.base;
029
030import ch.qos.logback.tyler.base.util.VersionUtil;
031
032public class TylerConstants {
033
034    public static final char SEMICOLON = ';';
035
036    public static char UNDERSCORE = '_';
037
038    static public final int NOT_FOUND = -1;
039
040    public static final String TYLER_CONFIGURATOR = "TylerConfigurator";
041    public static final String CONTEXT_FIELD_NAME = "context";
042    public static final String LOGGER_CONTEXT_PARAMETER_NAME = "loggerCoontext";
043    public static final String LEVEL_FIELD_NAME = "level";
044    public static final String LEVEL_STRING_PARAMETER_NAME = "levelString";
045
046    public static final String REQUIRED_LOGBACK_VERSION = "1.5.4";
047
048    public static final String TYLER_VERSION = VersionUtil.tylerVersion();
049
050    public static final String LOGGER_FIELD_NAME = "logger";
051
052    public static final String LOGGER_NAME_FIELD_NAME = "loggerName";
053    public static final String ADDITIVITY_FIELD_NAME = "additivity";
054    public static final String CONFIGURE_METHOD_NAME = "configure";
055    public static final String SETUP_APPENDER = "setupAppender";
056    public static final String SETUP = "setup";
057    public static final String ADD_ON_CONSOLE_STATUS_LISTENER = "addOnConsoleStatusListener";
058
059
060
061}