1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
use console::style;
use crate::constants::*;
pub async fn log_success(text: &str) {
println!(
"{}{}",
COMPLETE_EMOJI,
style(text).white().bold()
);
}
pub async fn log_error(text: &str) {
println!(
"{}{}",
ERROR_EMOJI,
style(text).white().bold()
);
}
pub async fn log_input(text: &str) {
println!(
"{}{}",
PAPER_EMOJI,
style(text).white().bold()
);
}
pub async fn log_create_file(text: &str) {
println!(
"{}{}",
FILE_EMOJI,
style(text).white().bold()
);
}