Skip to content

Commit

Permalink
update build.gradle and changelog.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzhizi715 committed Oct 9, 2020
1 parent f53405a commit b7b3c60
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
SAF-Kotlin-log
===

Version 2.5.3
---
2020-10-09
* L 的 printers 使用线程安全的 Set

Version 2.5.2
---
2020-10-03
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ext {
buildscript {
System.properties['com.android.build.gradle.overrideVersionCheck'] = 'true'
ext.kotlin_version = '1.4.10'
ext.l_version = '2.5.2'
ext.l_version = '2.5.3'

repositories {
google()
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/com/safframework/log/L.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ object L {
private var header: String? = ""
private val handlers = LinkedList<BaseHandler>()
private var firstHandler: BaseHandler
private val printers = mutableSetOf<Printer>()
private val printers = Collections.synchronizedSet(mutableSetOf<Printer>())
private var displayThreadInfo:Boolean = true
private var displayClassInfo:Boolean = true
private var converter: Converter?=null
Expand Down

0 comments on commit b7b3c60

Please sign in to comment.