Refactor logging
This commit is contained in:
parent
ba873e5668
commit
1556cf57e1
9 changed files with 24 additions and 24 deletions
|
|
@ -130,8 +130,8 @@ class Xray : Protocol() {
|
|||
LibXray.initXray(assetsPath)
|
||||
val geoDir = File(assetsPath, "geo").absolutePath
|
||||
val configPath = File(context.cacheDir, "config.json")
|
||||
Log.d(TAG, "xray.location.asset: $geoDir")
|
||||
Log.d(TAG, "config: $configPath")
|
||||
Log.v(TAG, "xray.location.asset: $geoDir")
|
||||
Log.v(TAG, "config: $configPath")
|
||||
try {
|
||||
configPath.writeText(configJson)
|
||||
} catch (e: IOException) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue