Remove unnecessary logging statements across various components to clean up code and improve readability. This includes removing debug, error, and warning logs from attachment handling, image processing, media loading, and profile management functionalities. Additionally, a script has been added to automate the removal of log statements from Kotlin files.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package com.rosetta.messenger
|
||||
|
||||
import android.app.Application
|
||||
import android.util.Log
|
||||
import com.rosetta.messenger.utils.CrashReportManager
|
||||
|
||||
/**
|
||||
@@ -16,12 +15,10 @@ class RosettaApplication : Application() {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
|
||||
Log.d(TAG, "Application starting...")
|
||||
|
||||
// Инициализируем crash reporter
|
||||
initCrashReporting()
|
||||
|
||||
Log.d(TAG, "Application initialized successfully")
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -30,9 +27,7 @@ class RosettaApplication : Application() {
|
||||
private fun initCrashReporting() {
|
||||
try {
|
||||
CrashReportManager.init(this)
|
||||
Log.d(TAG, "Crash reporting initialized")
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Failed to initialize crash reporting", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user