org.pixel.commons.logger.LogLevel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pixel-commons-linux Show documentation
Show all versions of pixel-commons-linux Show documentation
Java 2D Game Framework inspired on the popular XNA framework.
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