Vaani.utils.logger#

Logger - Professional Logging System#

Features: - Minimal, production-ready logging - Error-focused output (no verbose spam) - Color-coded console output - File logging with rotation (1MB limit, 3 backups) - Module-specific loggers - Configurable log levels - Thread-safe logging - Performance impact minimal - Professional formatting

Provides clean, professional logging that only shows what matters. No emoji spam, no unnecessary info logs - just errors and critical warnings when something needs attention.

Vaani Voice Assistant Copyright (c) 2026 Aman Kumar Pandey. All Rights Reserved.

This file is part of the Vaani Voice Assistant core and is proprietary.

class Vaani.utils.logger.VaaniLogger[source]#

Custom logger for Vaani with advanced features

classmethod get_logger(name='vaani')[source]#

Get or create logger instance

Parameters:

name (str)

Return type:

Logger

Vaani.utils.logger.debug(msg, *args, **kwargs)[source]#

Log debug message

Parameters:

msg (str)

Vaani.utils.logger.info(msg, *args, **kwargs)[source]#

Log info message

Parameters:

msg (str)

Vaani.utils.logger.warning(msg, *args, **kwargs)[source]#

Log warning message

Parameters:

msg (str)

Vaani.utils.logger.error(msg, *args, **kwargs)[source]#

Log error message

Parameters:

msg (str)

Vaani.utils.logger.critical(msg, *args, **kwargs)[source]#

Log critical message

Parameters:

msg (str)

Vaani.utils.logger.exception(msg, *args, **kwargs)[source]#

Log exception with traceback

Parameters:

msg (str)