<?php

namespace PloverCRM\Modules\NativeCRM\Services;

use PloverCRM\Common\BaseLogger;

/**
 * Native CRM Logger Service
 * 
 * Handles logging for built-in CRM operations
 */
class Logger extends BaseLogger
{
    /**
     * Constructor
     */
    public function __construct()
    {
        parent::__construct(
            'native_crm',      // Channel name
            'native-crm',      // Log directory name
            'native-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);
    }
}
