Documentation Index
Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Module
Python logging configuration utilities for the Galileo SDK.
This module provides utilities to configure Python’s logging module for the SDK,
including silent-by-default behavior and console output helpers.
enable_console_logging
def enable_console_logging(level: int=logging.INFO) -> None
Enable console logging for interactive use.
This function configures the root galileo logger to output to the console
with a simple formatter. This is particularly useful for REPL, IPython,
and Jupyter environments where users want to see SDK logs immediately.
Arguments
level: Logging level (default: logging.INFO)
Examples
import galileo
galileo.enable_console_logging()
# Now SDK operations will show progress and debug information
get_logger
def get_logger(name: str) -> logging.Logger
Get a logger with lazy initialization of silent defaults.
This should be used by SDK modules instead of directly calling logging.getLogger()
to ensure that silent defaults are applied if the user hasn’t configured logging.
Arguments
name: Logger name (typically name)
Returns
Logger instance with silent defaults applied if not already configured: