We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9bb947 commit 67424c9Copy full SHA for 67424c9
lib.rs
@@ -280,7 +280,7 @@ where
280
let join = builder.spawn(move || loop {
281
match rx.recv().unwrap() {
282
AsyncMsg::Record(r) => {
283
- r.to_log(&drain).unwrap();
+ r.log_to(&drain).unwrap();
284
}
285
AsyncMsg::Finish => return,
286
@@ -480,7 +480,7 @@ impl AsyncRecord {
480
481
482
/// Writes the record to a `Drain`.
483
- pub fn to_log<D: Drain>(self, drain: &D) -> Result<D::Ok, D::Err> {
+ pub fn log_to<D: Drain>(self, drain: &D) -> Result<D::Ok, D::Err> {
484
let rs = RecordStatic {
485
location: &*self.location,
486
level: self.level,
0 commit comments