package com.ffii.fpsms.modules.common.alert

import org.slf4j.LoggerFactory

/** Dev / disabled mode: log SMS body instead of sending. */
class LoggingSmsSender : SmsSender {
    private val logger = LoggerFactory.getLogger(LoggingSmsSender::class.java)

    override fun send(
        toNumbers: List<String>,
        body: String,
        job: String,
        code: String,
        detail: String,
    ) {
        logger.warn("[SMS would send to {}] {}", toNumbers.joinToString(), body)
    }
}
