Fix log time

This commit is contained in:
Him188 2020-06-01 18:11:55 +08:00
parent c088e423b2
commit 2dcd8ffea0

View File

@ -90,7 +90,7 @@ actual open class PlatformLogger @JvmOverloads constructor(
}
private val timeFormat = SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.SIMPLIFIED_CHINESE)
private val currentTimeFormatted = timeFormat.format(Date())
private val currentTimeFormatted get() = timeFormat.format(Date())
/**
* @author NaturalHG