Struct clap_flags::Log[][src]

pub struct Log { /* fields omitted */ }

Add log functionality to Structopt.

Methods

impl Log
[src]

Initialize env_logger and set the log level for the given package.

All other modules default to printing warnings.

Initialize env_logger and set the log level for all packages. No additional filtering is applied.

Trait Implementations

impl StructOpt for Log
[src]

Returns the corresponding clap::App.

Creates the struct from clap::ArgMatches. It cannot fail with a parameter generated by clap by construction. Read more

Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Read more

impl Debug for Log
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Log

impl Sync for Log