mirror of
				https://github.com/InsanusMokrassar/KSLog.git
				synced 2025-11-04 13:30:19 +00:00 
			
		
		
		
	Compare commits
	
		
			4 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 669afe481d | |||
| 42db9da058 | |||
| 72de26adac | |||
| 4b47a4e817 | 
@@ -1,5 +1,9 @@
 | 
				
			|||||||
# Changelog
 | 
					# Changelog
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 0.5.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* New property `defaultMessageFormatterWithErrorPrint` for messages format with errors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 0.5.0
 | 
					## 0.5.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* `Kotlin`: `1.7.10`
 | 
					* `Kotlin`: `1.7.10`
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,5 +9,5 @@ android.enableJetifier=true
 | 
				
			|||||||
# Project data
 | 
					# Project data
 | 
				
			||||||
 | 
					
 | 
				
			||||||
group=dev.inmo
 | 
					group=dev.inmo
 | 
				
			||||||
version=0.5.0
 | 
					version=0.5.1
 | 
				
			||||||
android_code_version=13
 | 
					android_code_version=14
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,5 @@
 | 
				
			|||||||
distributionBase=GRADLE_USER_HOME
 | 
					distributionBase=GRADLE_USER_HOME
 | 
				
			||||||
distributionPath=wrapper/dists
 | 
					distributionPath=wrapper/dists
 | 
				
			||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
 | 
					distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
 | 
				
			||||||
zipStoreBase=GRADLE_USER_HOME
 | 
					zipStoreBase=GRADLE_USER_HOME
 | 
				
			||||||
zipStorePath=wrapper/dists
 | 
					zipStorePath=wrapper/dists
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,4 +5,4 @@ typealias MessageFormatter = (l: LogLevel, t: String?, m: Any, Throwable?) -> St
 | 
				
			|||||||
inline fun MessageFormatter(noinline formatter: MessageFormatter) = formatter
 | 
					inline fun MessageFormatter(noinline formatter: MessageFormatter) = formatter
 | 
				
			||||||
typealias MessageFilter = (l: LogLevel, t: String?, Throwable?) -> Boolean
 | 
					typealias MessageFilter = (l: LogLevel, t: String?, Throwable?) -> Boolean
 | 
				
			||||||
val defaultMessageFormatter: MessageFormatter = { l, t, m, _ -> "[$l] ${t ?.let { "$it " } ?: ""}- $m" }
 | 
					val defaultMessageFormatter: MessageFormatter = { l, t, m, _ -> "[$l] ${t ?.let { "$it " } ?: ""}- $m" }
 | 
				
			||||||
 | 
					val defaultMessageFormatterWithErrorPrint: MessageFormatter = { l, t, m, e -> "[$l] ${t ?.let { "$it " } ?: ""}- $m${e ?.let { ": ${it.stackTraceToString()}" } ?: ""}" }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user