Logging
Centralized logging configuration for the Inference SDK.
get_logger(module_name)
¶
Get a logger for the specified module.
Automatically configures basic logging on first use if no handlers exist.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
module_name
|
str
|
Name of the module requesting the logger. |
required |
Returns:
| Type | Description |
|---|---|
Logger
|
logging.Logger: Configured logger for the module. |
Source code in inference_sdk/utils/logging.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | |