Enum plctag_log::DebugLevel [−][src]
pub enum DebugLevel {
None,
Error,
Warn,
Info,
Detail,
Spew,
}Expand description
provides debugging output when enabled
Variants
0 - disables debugging output
1 - only output errors. Generally these are fatal to the functioning of the library
2 - outputs warnings such as error found when checking a malformed tag attribute string or when unexpected problems are reported from the PLC
3 - outputs diagnostic information about the internal calls within the library. Includes some packet dumps
4 - outputs detailed diagnostic information about the code executing within the library including packet dumps
5 - outputs extremely detailed information. Do not use this unless you are trying to debug detailed information about every mutex lock and release. Will output many lines of output per millisecond. You have been warned!
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DebugLevel
impl Send for DebugLevel
impl Sync for DebugLevel
impl Unpin for DebugLevel
impl UnwindSafe for DebugLevel
Blanket Implementations
Mutably borrows from an owned value. Read more