Back to project page android-filelogger.
The source code is released under:
Apache License
If you think the Android project android-filelogger listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.levelup.logutils; //from w ww .j a v a 2s. c o m import android.util.Log; /** * the different levels of logging possible in {@link FLog} */ public enum FLogLevel { /** * Verbose log level */ V(Log.VERBOSE), /** * Debug log level */ D(Log.DEBUG), /** * Information log level */ I(Log.INFO), /** * Warning log level */ W(Log.WARN), /** * Error log level */ E(Log.ERROR), /** * Assert log level */ WTF(Log.ASSERT); final int logLevel; private FLogLevel(int logLevel) { this.logLevel = logLevel; } boolean allows(FLogLevel test) { return test.logLevel >= logLevel; } }