Crate output [] [src]

Simple tool for user-friendly output in Rust CLI programs.

The main goal is to enable programs to provide feedback about their progress to users, in a more advanced way than outputting lines. This library concerns itself with stderr and lets stdout be used for direct output.

The central concept is that a message can be logged "permanently" or "temporarily". Temporary messages will be removed or replaced, whereas permament messages will remain on screen. Permanent messages will appear above any temporary message which is currently present.

To use, add it to your Cargo.toml:

[dependencies]
output = "*"

Macros

output_job_replace
output_job_start
output_job_update
output_message

Structs

Console
Output
OutputLog
OutputLogInternal
PipeOutput
RawConsole

Enums

OutputLogState

Traits

Backend

Functions

null
open
open_backend
open_raw
pipe

Type Definitions

BoxBackend
OutputJob