This repository was archived by the owner on Feb 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +24
-28
lines changed
block_info/sawtooth_block_info/src
identity/sawtooth_identity/src
settings/sawtooth_settings/src
smallbank/smallbank_rust/src Expand file tree Collapse file tree 4 files changed +24
-28
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,12 @@ fn main() {
6464 . value_of ( "connect" )
6565 . unwrap_or ( "tcp://localhost:4004" ) ;
6666
67- let console_log_level;
68- match matches. occurrences_of ( "verbose" ) {
69- 0 => console_log_level = LevelFilter :: Warn ,
70- 1 => console_log_level = LevelFilter :: Info ,
71- 2 => console_log_level = LevelFilter :: Debug ,
72- 3 | _ => console_log_level = LevelFilter :: Trace ,
73- }
67+ let console_log_level = match matches. occurrences_of ( "verbose" ) {
68+ 0 => LevelFilter :: Warn ,
69+ 1 => LevelFilter :: Info ,
70+ 2 => LevelFilter :: Debug ,
71+ _ => LevelFilter :: Trace ,
72+ } ;
7473
7574 let stdout = ConsoleAppender :: builder ( )
7675 . encoder ( Box :: new ( PatternEncoder :: new (
Original file line number Diff line number Diff line change @@ -63,13 +63,12 @@ fn main() {
6363 . value_of ( "connect" )
6464 . unwrap_or ( "tcp://localhost:4004" ) ;
6565
66- let console_log_level;
67- match matches. occurrences_of ( "verbose" ) {
68- 0 => console_log_level = LevelFilter :: Warn ,
69- 1 => console_log_level = LevelFilter :: Info ,
70- 2 => console_log_level = LevelFilter :: Debug ,
71- _ => console_log_level = LevelFilter :: Trace ,
72- }
66+ let console_log_level = match matches. occurrences_of ( "verbose" ) {
67+ 0 => LevelFilter :: Warn ,
68+ 1 => LevelFilter :: Info ,
69+ 2 => LevelFilter :: Debug ,
70+ _ => LevelFilter :: Trace ,
71+ } ;
7372
7473 let stdout = ConsoleAppender :: builder ( )
7574 . encoder ( Box :: new ( PatternEncoder :: new (
Original file line number Diff line number Diff line change @@ -62,13 +62,12 @@ fn main() {
6262 . value_of ( "connect" )
6363 . unwrap_or ( "tcp://localhost:4004" ) ;
6464
65- let console_log_level;
66- match matches. occurrences_of ( "verbose" ) {
67- 0 => console_log_level = LevelFilter :: Warn ,
68- 1 => console_log_level = LevelFilter :: Info ,
69- 2 => console_log_level = LevelFilter :: Debug ,
70- 3 | _ => console_log_level = LevelFilter :: Trace ,
71- }
65+ let console_log_level = match matches. occurrences_of ( "verbose" ) {
66+ 0 => LevelFilter :: Warn ,
67+ 1 => LevelFilter :: Info ,
68+ 2 => LevelFilter :: Debug ,
69+ _ => LevelFilter :: Trace ,
70+ } ;
7271
7372 let stdout = ConsoleAppender :: builder ( )
7473 . encoder ( Box :: new ( PatternEncoder :: new (
Original file line number Diff line number Diff line change @@ -52,13 +52,12 @@ fn main() {
5252 . value_of ( "connect" )
5353 . unwrap_or ( "tcp://localhost:4004" ) ;
5454
55- let console_log_level;
56- match matches. occurrences_of ( "verbose" ) {
57- 0 => console_log_level = LevelFilter :: Warn ,
58- 1 => console_log_level = LevelFilter :: Info ,
59- 2 => console_log_level = LevelFilter :: Debug ,
60- 3 | _ => console_log_level = LevelFilter :: Trace ,
61- }
55+ let console_log_level = match matches. occurrences_of ( "verbose" ) {
56+ 0 => LevelFilter :: Warn ,
57+ 1 => LevelFilter :: Info ,
58+ 2 => LevelFilter :: Debug ,
59+ _ => LevelFilter :: Trace ,
60+ } ;
6261
6362 let stdout = ConsoleAppender :: builder ( )
6463 . encoder ( Box :: new ( PatternEncoder :: new (
You can’t perform that action at this time.
0 commit comments