Add trace logs.
This commit is contained in:
@@ -41,6 +41,7 @@ pub mod qobject {
|
||||
#[qproperty(QColor, debug_log)]
|
||||
#[qproperty(QColor, warn_log)]
|
||||
#[qproperty(QColor, error_log)]
|
||||
#[qproperty(QColor, trace_log)]
|
||||
type RustColors = super::RustColorsImpl;
|
||||
}
|
||||
}
|
||||
@@ -75,6 +76,7 @@ pub struct RustColorsImpl {
|
||||
debug_log: QColor,
|
||||
warn_log: QColor,
|
||||
error_log: QColor,
|
||||
trace_log: QColor,
|
||||
}
|
||||
|
||||
impl Default for RustColorsImpl {
|
||||
@@ -104,9 +106,10 @@ impl Default for RustColorsImpl {
|
||||
explorer_folder_open: QColor::try_from("#2b2b2b").unwrap(),
|
||||
terminal_background: QColor::try_from("#111111").unwrap(),
|
||||
info_log: QColor::try_from("#C4FFFF").unwrap(),
|
||||
debug_log: QColor::try_from("#55ff99").unwrap(),
|
||||
warn_log: QColor::try_from("#ffaa00").unwrap(),
|
||||
debug_log: QColor::try_from("#9148AF").unwrap(),
|
||||
warn_log: QColor::try_from("#C4A958").unwrap(),
|
||||
error_log: QColor::try_from("#ff5555").unwrap(),
|
||||
trace_log: QColor::try_from("#ffaa00").unwrap(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user