Skip to content

Commit

Permalink
fix: 修复console日志TAG同步问题
Browse files Browse the repository at this point in the history
  • Loading branch information
HiJesse committed May 24, 2018
1 parent 69d5a35 commit af878d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ import java.util.logging.Formatter
* NLogger配置器
*/
class NLoggerConfig {
private val TAG = NLoggerConfig::class.java.simpleName
@Volatile
private var builder: Builder? = null
private val defaultLogger: ILogger = AndroidLogger(TAG)
private val defaultLogger: ILogger = AndroidLogger("NLogger")
@Volatile
private var fileLogger: ILogger? = null

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ abstract class AbstractLogger(tag: String) : ILogger {


override fun setTag(tag: String) {
this.mTag = mTag
this.mTag = tag
}

override fun isEnabled(level: LoggerLevel): Boolean {
Expand Down

0 comments on commit af878d5

Please sign in to comment.