import LoggerPort from "../../ports/LoggerPort.js";
/**
 * No-operation logger adapter.
 *
 * Provides a zero-overhead implementation of LoggerPort that discards
 * all log messages. Useful as the default logger when logging is not
 * needed, or for testing scenarios where log output is not relevant.
 *
 * All methods are no-ops that return immediately without side effects.
 */
export default class NoOpLogger extends LoggerPort {
    debug(_message, _context) {
        // Intentionally empty
    }
    info(_message, _context) {
        // Intentionally empty
    }
    warn(_message, _context) {
        // Intentionally empty
    }
    error(_message, _context) {
        // Intentionally empty
    }
    child(_context) {
        return new NoOpLogger();
    }
}
