Class: LLM::Tracer::Null
Overview
A no-op tracer that ignores all tracing callbacks.
Instance Method Summary collapse
Methods inherited from LLM::Tracer
#flush!, #initialize, #inspect, #spans
Constructor Details
This class inherits a constructor from LLM::Tracer
Instance Method Details
#on_request_start ⇒ nil
10
11
12
|
# File 'lib/llm/tracer/null.rb', line 10
def on_request_start(**)
nil
end
|
#on_request_finish ⇒ nil
17
18
19
|
# File 'lib/llm/tracer/null.rb', line 17
def on_request_finish(**)
nil
end
|
#on_request_error ⇒ nil
24
25
26
|
# File 'lib/llm/tracer/null.rb', line 24
def on_request_error(**)
nil
end
|
31
32
33
|
# File 'lib/llm/tracer/null.rb', line 31
def on_tool_start(**)
nil
end
|
38
39
40
|
# File 'lib/llm/tracer/null.rb', line 38
def on_tool_finish(**)
nil
end
|
45
46
47
|
# File 'lib/llm/tracer/null.rb', line 45
def on_tool_error(**)
nil
end
|