Skip to main content

Crate lingxia_log

Crate lingxia_log 

Source

Structs§

AttachedLogStream
Combined recent replay plus live log receiver for diagnostics consumers.
CollectedLogArchive
Compressed in-memory log archive payload.
CollectedLogArchiveInfo
Metadata returned after a collected log archive has been uploaded.
LogBuffer
Reusable in-memory log pipeline shared by SDK runtimes and diagnostics tooling.
LogBufferConfig
LogBuilder
Log builder that automatically emits on drop.
LogManager
Global structured log manager.
LogMessage
Structured log message forwarded to system loggers and network sinks.
LogTracingLayer

Enums§

LogLevel
Log levels that match Android/iOS common levels.
LogStreamError
LogTag

Constants§

DEFAULT_LOG_HISTORY_CAPACITY
Default recent history capacity retained in memory.
DEFAULT_LOG_LIVE_CAPACITY
Default live subscriber capacity for the in-memory log pipeline.
DEFAULT_LOG_STREAM_RECENT_LIMIT
Default recent replay window used by SDK/devtool consumers.

Traits§

LogProvider
Realtime plus diagnostic log upload contract.

Functions§

attach_log_stream
Attach a log stream with a recent replay window.
attach_log_stream_default
Attach a log stream using the SDK’s default replay window.
log
Global logging function for scenarios without appid/path context.
normalize_optional_string
now_timestamp_ms
register_log_provider
Register an optional log provider. Must be called at app startup before SDK initialization.
tracing_layer
upload_collected_logs
Upload a recent compressed log archive through the registered provider.