MCPcopy Create free account
hub / github.com/BigBoot/AutoKuma / log_error

Method log_error

kuma-client/src/util.rs:45–50  ·  view source on GitHub ↗
(self, target: &str, cb: F)

Source from the content-addressed store, hash-verified

43 }
44
45 fn log_error(self, target: &str, cb: F) -> Self {
46 return self.map_err(|e| {
47 error!(target: target, "{}", cb(&e).as_ref());
48 e
49 });
50 }
51
52 fn print_error(self, cb: F) -> Self {
53 return self.map_err(|e| {

Callers 7

on_eventMethod · 0.80
connectMethod · 0.80
disconnectMethod · 0.80
dropMethod · 0.80
mainFunction · 0.80
runMethod · 0.80
shutdownMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected