Class: Cline::Log
Overview
Cline Log entry
Defined Under Namespace
Classes: ApiError, Error, ErrorCause, Properties
Instance Attribute Summary
Attributes inherited from Schema
Public API collapse
-
#backend_mode ⇒ String?
Backend routing mode (e.g. "env-managed", "auto").
-
#component ⇒ String
Component name (e.g. "main").
-
#cwd ⇒ String?
Current working directory.
-
#err ⇒ Error?
Error details for error logs.
-
#event ⇒ String?
Event name for telemetry entries (e.g. "workspace.initialized").
-
#force_local_backend ⇒ Boolean?
Whether the local backend is forced.
-
#has_prompt ⇒ Boolean?
Whether a prompt is present.
-
#hostname ⇒ String
Hostname of the machine.
-
#interactive ⇒ Boolean?
Whether the session is interactive.
-
#level ⇒ Integer
Log level number (e.g. 30 for info, 40 for warn).
-
#msg ⇒ String
Log message.
-
#name ⇒ String
Logger name (e.g. "cline.cli").
-
#pid ⇒ Integer
Process ID.
-
#properties ⇒ Properties?
Event-specific properties for telemetry entries.
-
#provider_id ⇒ String?
Provider identifier (e.g. "cline").
-
#reason ⇒ String?
Reason for a fallback or decision.
-
#severity ⇒ String?
Severity level for error/warn logs (e.g. "error", "warn").
-
#telemetry_sink ⇒ String?
Telemetry sink name (e.g. "TelemetryLoggerSink").
-
#time ⇒ String
Timestamp in ISO 8601 format.
Methods inherited from Schema
#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash
Instance Method Details
#backend_mode ⇒ String?
265 |
# File 'lib/cline/log.rb', line 265 attribute :backend_mode, :string |
#component ⇒ String
247 |
# File 'lib/cline/log.rb', line 247 attribute :component, :string |
#cwd ⇒ String?
259 |
# File 'lib/cline/log.rb', line 259 attribute :cwd, :string |
#event ⇒ String?
274 |
# File 'lib/cline/log.rb', line 274 attribute :event, :string |
#force_local_backend ⇒ Boolean?
268 |
# File 'lib/cline/log.rb', line 268 attribute :force_local_backend, :boolean |
#has_prompt ⇒ Boolean?
256 |
# File 'lib/cline/log.rb', line 256 attribute :has_prompt, :boolean |
#hostname ⇒ String
241 |
# File 'lib/cline/log.rb', line 241 attribute :hostname, :string |
#interactive ⇒ Boolean?
253 |
# File 'lib/cline/log.rb', line 253 attribute :interactive, :boolean |
#level ⇒ Integer
232 |
# File 'lib/cline/log.rb', line 232 attribute :level, :integer |
#msg ⇒ String
250 |
# File 'lib/cline/log.rb', line 250 attribute :msg, :string |
#name ⇒ String
244 |
# File 'lib/cline/log.rb', line 244 attribute :name, :string |
#pid ⇒ Integer
238 |
# File 'lib/cline/log.rb', line 238 attribute :pid, :integer |
#properties ⇒ Properties?
277 |
# File 'lib/cline/log.rb', line 277 attribute :properties, Properties |
#provider_id ⇒ String?
283 |
# File 'lib/cline/log.rb', line 283 attribute :provider_id, :string |
#reason ⇒ String?
262 |
# File 'lib/cline/log.rb', line 262 attribute :reason, :string |
#severity ⇒ String?
280 |
# File 'lib/cline/log.rb', line 280 attribute :severity, :string |
#telemetry_sink ⇒ String?
271 |
# File 'lib/cline/log.rb', line 271 attribute :telemetry_sink, :string |
#time ⇒ String
235 |
# File 'lib/cline/log.rb', line 235 attribute :time, :string |