nox/sessions.py
def log(self, message: str) -> None:
        """Log a message using the appropriate log function.

        Args:
            message (str): The message to be logged.
        """
        log_function = logger.info
        if self.status == Status.SUCCESS:
            log_function = logger.success
        if self.status == Status.SKIPPED:
            log_function = logger.warning
        if self.status.value <= 0:
            log_function = logger.error
        log_function(message)
Log a message using the appropriate log function.

        Args:
            message (str): The message to be logged.
        
Log a message using the appropriate log function.
Log a message using the appropriate log function .
def log(self, message: str) -> None:
        log_function = logger.info
        if self.status == Status.SUCCESS:
            log_function = logger.success
        if self.status == Status.SKIPPED:
            log_function = logger.warning
        if self.status.value <= 0:
            log_function = logger.error
        log_function(message)
def log ( self , message : str ) -> None : log_function = logger . info if self . status == Status . SUCCESS : log_function = logger . success if self . status == Status . SKIPPED : log_function = logger . warning if self . status . value <= 0 : log_function = logger . error log_function ( message )
Log a message using the appropriate log function.
Log a message using the appropriate log function .
"""Log a message using the appropriate log function.

        Args:
            message (str): The message to be logged.
        """
self
message
str
The message to be logged.
The message to be logged .