import android.util.Log

class AlarmEventLogger {
    companion object {
        private const val TAG = "AlarmEventLogger"
    }

    fun logAlarmEvent(event: String) {
        val currentTime = System.currentTimeMillis()
        Log.d(TAG, "Alarm Event: $event at $currentTime")
    }

    fun logAlarmSet(alarmId: Int, time: String) {
        Log.i(TAG, "Alarm set: ID = $alarmId, Time = $time")
    }

    fun logAlarmTriggered(alarmId: Int) {
        Log.w(TAG, "Alarm triggered: ID = $alarmId")
    }

    fun logAlarmCanceled(alarmId: Int) {
        Log.e(TAG, "Alarm canceled: ID = $alarmId")
    }
}