summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/config/font.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/config/font.rs')
-rw-r--r--alacritty_terminal/src/config/font.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/alacritty_terminal/src/config/font.rs b/alacritty_terminal/src/config/font.rs
index 6148c982..a8a76c15 100644
--- a/alacritty_terminal/src/config/font.rs
+++ b/alacritty_terminal/src/config/font.rs
@@ -1,12 +1,13 @@
use std::fmt;
use font::Size;
+use log::error;
use serde::de::Visitor;
use serde::{Deserialize, Deserializer};
#[cfg(target_os = "macos")]
use crate::config::DefaultTrueBool;
-use crate::config::{failure_default, Delta};
+use crate::config::{failure_default, Delta, LOG_TARGET_CONFIG};
/// Font config
///
@@ -202,7 +203,12 @@ impl DeserializeSize for Size {
Ok(size) => Ok(size),
Err(err) => {
let size = default_font_size();
- error!("Problem with config: {}; using size {}", err, size.as_f32_pts());
+ error!(
+ target: LOG_TARGET_CONFIG,
+ "Problem with config: {}; using size {}",
+ err,
+ size.as_f32_pts()
+ );
Ok(size)
},
}