Skip to content

Commit

Permalink
Remove module name from log info and warning log messages (#353)
Browse files Browse the repository at this point in the history
* Remove module name from log info and warning log messages

* Review fixes
  • Loading branch information
MeirShpilraien authored Jun 26, 2023
1 parent 9fe7eac commit eefacd3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,7 @@ pub mod standard_log_implementation {
record.args()
)
}
_ => {
format!(
"'{}' {}",
record.module_path().unwrap_or_default(),
record.args()
)
}
_ => record.args().to_string(),
};

log_internal(self.0, record.level(), &message);
Expand Down

0 comments on commit eefacd3

Please sign in to comment.