1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-24 09:14:18 +00:00

Allow deadcode for logs

This commit is contained in:
Steffo 2024-09-13 03:31:40 +02:00
parent 0d1235b742
commit 48582f93df
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -7,6 +7,7 @@ pub type ResponseError = StatusCode;
pub type Response<T> = Result<T, ResponseError>;
/// Trait to easily [`log`] function outcomes.
#[allow(dead_code)]
pub(crate) trait LoggableOutcome {
fn log_err_to_trace(self, msg: &str) -> Self;
fn log_err_to_debug(self, msg: &str) -> Self;