You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config.level =:debug# debug level can also be set to debug by setting RUBYLLM_DEBUG envar to true
78
83
end
79
84
```
80
85
@@ -134,6 +139,31 @@ Fine-tune how RubyLLM handles HTTP connections and retries.
134
139
135
140
Adjust these based on network conditions and provider reliability.
136
141
142
+
## Logging Settings
143
+
144
+
RubyLLM provides flexible logging configuration to help you monitor and debug API interactions. You can configure both the log file location and the logging level.
145
+
146
+
```ruby
147
+
RubyLLM.configure do |config|
148
+
# --- Logging Settings ---
149
+
config.log_file ='/logs/ruby_llm.log'# Path to log file (default: nil, logs to STDOUT)
0 commit comments