<?php

namespace PloverCRM\Modules\FluentCRM\Services;

use PloverCRM\Common\BaseLogger;

/**
 * FluentCRM Logger Service
 * 
 * Handles logging for FluentCRM provider operations
 */
class Logger extends BaseLogger
{
    /**
     * Constructor
     */
    public function __construct()
    {
        parent::__construct(
            'fluent_crm',      // Channel name
            'fluent-crm',      // Log directory name
            'fluent-crm',      // Log file prefix
            [
                'module' => 'crm',
                'feature' => 'crm-settings',
            ]
        );
    }

    /**
     * Log error message
     *
     * @param string $message
     * @param array $context
     */
    public function logError($message, array $context = []): void
    {
        parent::logError($message, $context);
    }

    /**
     * Log info message
     *
     * @param string $message
     * @param array $context
     */
    public function logInfo($message, array $context = []): void
    {
        parent::logInfo($message, $context);
    }

    /**
     * Log warning message
     *
     * @param string $message
     * @param array $context
     */
    public function logWarning($message, array $context = []): void
    {
        parent::logWarning($message, $context);
    }
}
