Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChainSafe/Delorean-Protocol
/ log_level
Method
log_level
fendermint/eth/api/examples/query_blockhash.rs:63–69 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
61
62
impl Options {
63
pub fn log_level(&self) -> Level {
64
if self.verbose {
65
Level::DEBUG
66
} else {
67
Level::INFO
68
}
69
}
70
71
pub fn http_endpoint(&self) -> String {
72
format!(
"http://{}:{}"
, self.http_host, self.http_port)
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected