rapids-logger is a core logging framework within the RAPIDS ecosystem, built around the high-performance C++ `spdlog` library. Its primary goal is to provide project-specific loggers easily, ensuring that custom logging implementations do not leak `spdlog` or `fmt` symbols, thus allowing safe coexistence of different RAPIDS projects in the same environment. While it has Python bindings for packaging, its direct Python API for general-purpose logging is not extensively documented; it primarily serves as the underlying logging mechanism for other RAPIDS Python libraries like `cuML`. The current version is 0.2.3, and releases align with the broader RAPIDS CalVer (YY.MM.PP) versioning scheme for patch releases.
pip install rapids-loggerVerified import paths — ran on the pinned version, not inferred.
Due to `rapids-logger` being predominantly a C++ framework, direct Python usage for general logging is not commonly documented. Python users typically configure logging through environment variables or specific API calls provided by higher-level RAPIDS Python libraries (e.g., `cuml.accel.install(log_level='debug')`). The provided quickstart demonstrates checking the installed version and notes the indirect usage pattern.
For Python applications, primarily configure logging via the specific RAPIDS library you are using (e.g., `cuml`, `cudf`) or through environment variables if supported by the upstream RAPIDS library. Do not expect `rapids-logger` to expose a generic Python logging interface.
Update CMakeLists.txt to remove direct `spdlog` and `fmt` dependencies where `rapids-logger` is intended as the logging provider, and integrate `rapids-logger` via `rapids_make_logger` or similar RAPIDS CMake functions. This mainly impacts developers building RAPIDS components from source or extending them in C++.
Verify the source repository (github.com/rapidsai/rapids-logger) and PyPI/Conda package (`rapids-logger` from `rapidsai` channel) to confirm you are using the correct library.
Install the package using `pip install rapids-logger` or `conda install -c rapidsai -c conda-forge rapids-logger`. Ensure your Python environment is correctly activated before running your script.
Understand that `rapids-logger` primarily serves as an internal dependency for other RAPIDS Python libraries. Configure logging via the specific RAPIDS library's API or environment variables, rather than trying to directly instantiate a logger from the `rapids_logger` module in Python. Refer to the documentation of the specific RAPIDS library you are using for its logging configuration options.
No dependency data recorded yet.