package com.levelup.logutils;

/**
 * the different levels of logging possible in {@link FLog}
 */
public enum FLogLevel {
	/**
	 * Verbose log level
	 */
	V,
	/**
	 * Debug log level
	 */
	D,
	/**
	 * Information log level
	 */
	I,
	/**
	 * Warning log level
	 */
	W,
	/**
	 * Error log level
	 */
	E,
	/**
	 * Assert log level
	 */
	WTF;

	public boolean allows(FLogLevel test) {
		return this.compareTo(test) <= 0;
	}
}
@@ -24,16 +24,42 @@
 utils;%0A%0A
+import android.util.Log;%0A%0A
 /**%0A * t
@@ -176,16 +176,29 @@
 %0A%09 */%0A%09V
+(Log.VERBOSE)
 ,%0A%09/**%0A%09
@@ -223,16 +223,27 @@
 %0A%09 */%0A%09D
+(Log.DEBUG)
 ,%0A%09/**%0A%09
@@ -274,16 +274,26 @@
 %0A%09 */%0A%09I
+(Log.INFO)
 ,%0A%09/**%0A%09
@@ -320,16 +320,26 @@
 %0A%09 */%0A%09W
+(Log.WARN)
 ,%0A%09/**%0A%09
@@ -364,16 +364,27 @@
 %0A%09 */%0A%09E
+(Log.ERROR)
 ,%0A%09/**%0A%09
@@ -416,19 +416,113 @@
 %09WTF
-;%0A%0A%09public 
+(Log.ASSERT);%0A%09%0A%09final int logLevel;%0A%09private FLogLevel(int logLevel) %7B%0A%09%09this.logLevel = logLevel;%0A%09%7D%0A%0A%09
 bool
@@ -564,32 +564,32 @@
 rn t
-his.compareTo(test) %3C= 0
+est.logLevel %3E= logLevel
 ;%0A%09%7D

make use of the system Log levels