MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / log_level

Method log_level

fendermint/eth/api/examples/greeter.rs:68–74  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

66
67impl Options {
68 pub fn log_level(&self) -> Level {
69 if self.verbose {
70 Level::DEBUG
71 } else {
72 Level::INFO
73 }
74 }
75
76 pub fn http_endpoint(&self) -> String {
77 format!("http://{}:{}", self.http_host, self.http_port)

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected