Class: Riffer::Span
- Inherits:
-
Object
- Object
- Riffer::Span
- Defined in:
- sig/generated/riffer/tracing/no_op.rbs
Overview
No-op stand-in for a span; answers recording? with false so
callers can skip expensive attribute serialization.
Instance Method Summary collapse
-
#add_event ⇒ void
-- : (String, ?attributes: Hash[String, untyped]?) -> void.
-
#error! ⇒ void
-- : (?String) -> void.
-
#record_exception ⇒ void
-- : (Exception) -> void.
-
#recording? ⇒ Boolean
-- : () -> bool.
-
#set_attribute ⇒ void
-- : (String, untyped) -> void.
Instance Method Details
#add_event ⇒ void
This method returns an undefined value.
-- : (String, ?attributes: Hash[String, untyped]?) -> void
15 |
# File 'sig/generated/riffer/tracing/no_op.rbs', line 15
def add_event: (String, ?attributes: Hash[String, untyped]?) -> void
|
#error! ⇒ void
This method returns an undefined value.
-- : (?String) -> void
23 |
# File 'sig/generated/riffer/tracing/no_op.rbs', line 23
def error!: (?String) -> void
|
#record_exception ⇒ void
This method returns an undefined value.
-- : (Exception) -> void
19 |
# File 'sig/generated/riffer/tracing/no_op.rbs', line 19
def record_exception: (Exception) -> void
|
#recording? ⇒ Boolean
-- : () -> bool
27 |
# File 'sig/generated/riffer/tracing/no_op.rbs', line 27
def recording?: () -> bool
|
#set_attribute ⇒ void
This method returns an undefined value.
-- : (String, untyped) -> void
11 |
# File 'sig/generated/riffer/tracing/no_op.rbs', line 11
def set_attribute: (String, untyped) -> void
|