% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shared__helpers.R
\name{configure_search_logging}
\alias{configure_search_logging}
\title{Configure Python Search Logging Level}
\usage{
configure_search_logging(level = "WARNING", conda_env = NULL)
}
\arguments{
\item{level}{Log level: "DEBUG", "INFO", "WARNING" (default), "ERROR", or "CRITICAL"}

\item{conda_env}{Name of the conda environment. Defaults to the package
option \code{asa.default_conda_env} (or \code{"asa_env"} if unset).}
}
\value{
Invisibly returns the current logging level
}
\description{
Sets the logging level for the Python search module. This controls
how much diagnostic output is produced during web searches.
}
\details{
Log levels from most to least verbose:
\itemize{
  \item DEBUG: Detailed diagnostic information for debugging
  \item INFO: General operational information
  \item WARNING: Indicates something unexpected but not an error (default)
  \item ERROR: Serious problems that prevented an operation
  \item CRITICAL: Very serious errors
}
}
\examples{
\dontrun{
# Enable verbose debugging output
configure_search_logging("DEBUG")

# Run a search (will show detailed logs)
result <- run_task("What is the population of Tokyo?", agent = agent)

# Disable verbose output
configure_search_logging("WARNING")
}

}
