Documentation
Start with a first record, run the complete examples, or check compatibility. These pages describe implemented source for the forthcoming beta. The full user’s guide is linked below.
Task guides
01Create and route loggersNames, levels, propagation, and handler ownership determine the record path.02Choose and configure outputEvery output brings its own capacity, I/O failures, and lifecycle.03Configure the runtimeStart with basicConfig; use builders when routing and filtering need a complete configuration.04Format and filter recordsFilters accept or enrich records on the producer thread. Callable formatters shape output.05Add context and exception detailsKeep fields with the operation that owns them; validate payloads before they cross the worker boundary.06Handle pressure and shutdownA queued record is pending work. Capacity, errors, and process exit can all prevent delivery.07Migrate existing logging codeCheck the supported API first, then adopt the structured logging changes in 0.2.0.
API reference
01Loggers and routingPublic declarations and behavioural boundaries for the prospective 0.2.0 surface.02Handlers and transportsPublic declarations and behavioural boundaries for the prospective 0.2.0 surface.03Configuration and mutationPublic declarations and behavioural boundaries for the prospective 0.2.0 surface.04Records, formatters, and filtersPublic declarations and behavioural boundaries for the prospective 0.2.0 surface.05Rust logging bridgesPublic declarations and behavioural boundaries for the prospective 0.2.0 surface.06Errors and diagnosticsPublic declarations and behavioural boundaries for the prospective 0.2.0 surface.
User’s guide
Read the femtologging user’s guide in the df12 documentation. It follows the upstream guide on the default branch, so it may describe work beyond the documented revision.