Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Tracing::NonBlocking
Inherits
Reference
<
Object
Constructors
new
(io :
IO
, buffer_size :
Int32
=
DEFAULT_BUFFERED_LINES_LIMIT
) :
Tuple
(
NonBlocking
,
WorkerGuard
)
Source
Class methods
builder
(io :
IO
, *, buffer_size :
Int32
=
DEFAULT_BUFFERED_LINES_LIMIT
, lossy :
Bool
= true) :
Tuple
(
NonBlocking
,
WorkerGuard
)
Source
create
(io :
IO
, buffered_lines_limit :
Int32
, is_lossy :
Bool
, thread_name :
String
) :
Tuple
(
NonBlocking
,
WorkerGuard
)
Source
Instance methods
error_counter
Source
make_writer
Source