Android Open Source - AndroidAppLog Logger Config






From Project

Back to project page AndroidAppLog.

License

The source code is released under:

Apache License

If you think the Android project AndroidAppLog listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package me.allenz.androidapplog;
/*w w w. java 2 s.  c  o m*/
public class LoggerConfig {

    private String name;

    private String tag;

    private LogLevel level;

    private boolean showThreadName;

    public LoggerConfig(final String name, final String tag,
                        final LogLevel level, final boolean showThreadName){
        this.name = name;
        this.tag = tag;
        this.level = level;
        this.showThreadName = showThreadName;
    }

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(final String tag) {
        this.tag = tag;
    }

    public LogLevel getLevel() {
        return level;
    }

    public void setLevel(final LogLevel level) {
        this.level = level;
    }

    public boolean isShowThreadName() {
        return showThreadName;
    }

    public void setShowThreadName(final boolean showThreadName) {
        this.showThreadName = showThreadName;
    }

    @Override
    public String toString() {
        return "LoggerConfig [name=" +
               name + ", tag=" + tag + ", level=" + level + ", showThreadName=" + showThreadName + "]";
    }

}




Java Source Code List

me.allenz.androidapplog.AbstractAppender.java
me.allenz.androidapplog.AbstractLogger.java
me.allenz.androidapplog.AppenderSupportLogger.java
me.allenz.androidapplog.Appender.java
me.allenz.androidapplog.AsyncAppender.java
me.allenz.androidapplog.Configure.java
me.allenz.androidapplog.InternalLogger.java
me.allenz.androidapplog.LogCatAppender.java
me.allenz.androidapplog.LogEvent.java
me.allenz.androidapplog.LogLevel.java
me.allenz.androidapplog.LogTextView.java
me.allenz.androidapplog.LoggerConfig.java
me.allenz.androidapplog.LoggerFactory.java
me.allenz.androidapplog.Logger.java
me.allenz.androidapplog.PropertiesParser.java
me.allenz.androidapplog.ReflectUtils.java
me.allenz.androidapplog.Repository.java
me.allenz.androidapplog.RollingFileAppender.java
me.allenz.androidapplog.TextViewAppender.java
me.allenz.androidapplog.UncaughtExceptionLogger.java