"""
Utilities module for palantir-event-capture
"""

from .helpers import (
    get_frame_info,
    format_stack_trace,
    get_exception_hierarchy,
    sanitize_metadata,
    is_ignored_exception,
    get_caller_info,
    safe_str,
    merge_metadata,
)
from .logger_config import setup_logger, get_logger, reset_logger
from .context_managers import (
    capture_context,
    capture_warnings,
    suppress_and_capture,
)

__all__ = [
    # Helpers
    "get_frame_info",
    "format_stack_trace",
    "get_exception_hierarchy",
    "sanitize_metadata",
    "is_ignored_exception",
    "get_caller_info",
    "safe_str",
    "merge_metadata",
    # Logging
    "setup_logger",
    "get_logger",
    "reset_logger",
    # Context managers
    "capture_context",
    "capture_warnings",
    "suppress_and_capture",
]