diff options
author | Lukas Lueg <lukas.lueg@gmail.com> | 2017-01-13 08:15:06 +0100 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-01-23 09:14:01 -0800 |
commit | 64b42cd2f3f1da1d6a99dcdf90e6f7728ddca968 (patch) | |
tree | 4856f4884144e1cbba8a0fc8185b446193515430 /font/src/darwin/mod.rs | |
parent | b23ed6ed4c53a6d010238643c443da6db3931a87 (diff) | |
download | alacritty-64b42cd2f3f1da1d6a99dcdf90e6f7728ddca968.tar.gz alacritty-64b42cd2f3f1da1d6a99dcdf90e6f7728ddca968.zip |
Use the log-crate instead of printing to stdout
Diffstat (limited to 'font/src/darwin/mod.rs')
-rw-r--r-- | font/src/darwin/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/font/src/darwin/mod.rs b/font/src/darwin/mod.rs index 1f925dea..757dd5f8 100644 --- a/font/src/darwin/mod.rs +++ b/font/src/darwin/mod.rs @@ -125,7 +125,7 @@ impl ::Rasterize for Rasterizer { type Err = Error; fn new(_dpi_x: f32, _dpi_y: f32, device_pixel_ratio: f32, use_thin_strokes: bool) -> Result<Rasterizer, Error> { - println!("device_pixel_ratio: {}", device_pixel_ratio); + info!("device_pixel_ratio: {}", device_pixel_ratio); Ok(Rasterizer { fonts: HashMap::new(), keys: HashMap::new(), @@ -588,7 +588,7 @@ mod tests { fn get_descriptors_and_build_font() { let list = super::descriptors_for_family("Menlo"); assert!(!list.is_empty()); - println!("{:?}", list); + info!("{:?}", list); // Check to_font let fonts = list.iter() |