Skip to content

Helper to print or info log depending on log level

Codecov / codecov/patch succeeded Jun 25, 2024 in 1s

17.52% of diff hit (target 92.35%)

View this Pull Request on Codecov

17.52% of diff hit (target 92.35%)

Annotations

Check warning on line 80 in aquadoggo/src/http/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/http/service.rs#L78-L80

Added lines #L78 - L80 were not covered by tests

Check warning on line 66 in aquadoggo/src/lib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/lib.rs#L66

Added line #L66 was not covered by tests

Check warning on line 130 in aquadoggo/src/network/behaviour.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/behaviour.rs#L130

Added line #L130 was not covered by tests

Check warning on line 293 in aquadoggo/src/network/peers/handler.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/peers/handler.rs#L293

Added line #L293 was not covered by tests

Check warning on line 48 in aquadoggo/src/network/relay.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/relay.rs#L37-L48

Added lines #L37 - L48 were not covered by tests

Check warning on line 56 in aquadoggo/src/network/relay.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/relay.rs#L51-L56

Added lines #L51 - L56 were not covered by tests

Check warning on line 68 in aquadoggo/src/network/relay.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/relay.rs#L59-L68

Added lines #L59 - L68 were not covered by tests

Check warning on line 80 in aquadoggo/src/network/relay.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/relay.rs#L71-L80

Added lines #L71 - L80 were not covered by tests

Check warning on line 83 in aquadoggo/src/network/relay.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/relay.rs#L82-L83

Added lines #L82 - L83 were not covered by tests

Check warning on line 105 in aquadoggo/src/network/relay.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/relay.rs#L86-L105

Added lines #L86 - L105 were not covered by tests

Check warning on line 107 in aquadoggo/src/network/relay.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/relay.rs#L107

Added line #L107 was not covered by tests

Check warning on line 109 in aquadoggo/src/network/relay.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/relay.rs#L109

Added line #L109 was not covered by tests

Check warning on line 57 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L57

Added line #L57 was not covered by tests

Check warning on line 74 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 78 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L77-L78

Added lines #L77 - L78 were not covered by tests

Check warning on line 230 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L229-L230

Added lines #L229 - L230 were not covered by tests

Check warning on line 236 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L235-L236

Added lines #L235 - L236 were not covered by tests

Check warning on line 293 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L287-L293

Added lines #L287 - L293 were not covered by tests

Check warning on line 299 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L297-L299

Added lines #L297 - L299 were not covered by tests

Check warning on line 315 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L302-L315

Added lines #L302 - L315 were not covered by tests

Check warning on line 317 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L317

Added line #L317 was not covered by tests

Check warning on line 324 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L323-L324

Added lines #L323 - L324 were not covered by tests

Check warning on line 334 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L327-L334

Added lines #L327 - L334 were not covered by tests

Check warning on line 338 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L337-L338

Added lines #L337 - L338 were not covered by tests

Check warning on line 366 in aquadoggo/src/network/service.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aquadoggo/src/network/service.rs#L355-L366

Added lines #L355 - L366 were not covered by tests