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:
2026-01-31 05:20:32 +05:00
parent 430c7d9007
commit c249278421
28 changed files with 0 additions and 506 deletions

View File

@@ -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)
}
}
}