All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.pixel.commons.logger.LogLevel Maven / Gradle / Ivy

The newest version!
/*
 * This software is available under Apache License
 * Copyright (c) 2020
 */

package org.pixel.commons.logger;

public enum LogLevel {
    //region Fields & Properties

    OFF((byte) 0b1),    // 1
    TRACE((byte) 0b10), // 2
    DEBUG((byte) 0b11), // 3
    INFO((byte) 0b100), // 4
    WARN((byte) 0b101), // 5
    ERROR((byte) 0b110);// 6

    private final byte value;

    //endregion

    //region Constructors

    /**
     * Constructor
     *
     * @param value
     */
    LogLevel(byte value) {
        this.value = value;
    }

    //endregion

    //region Public Functions

    public byte getValue() {
        return this.value;
    }

    //endregion
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy