File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ namespace AdventOfCode24::Day2 {
34
34
values.end (),
35
35
[&overall_trend](int a, int b) {
36
36
if (a == b || std::abs (a - b) > 3 || std::abs (a - b) < 1 ){
37
- spdlog::warn (" Invalid interval of size " + std::to_string (a - b));
37
+ spdlog::debug (" Invalid interval of size " + std::to_string (a - b));
38
38
return true ;
39
39
}
40
40
if ((overall_trend > 0 && a > b) || (overall_trend < 0 && a < b)) {
41
- spdlog::warn (" Interval of [" + std::to_string (a) + " ," + std::to_string (b) + " ] does not match " + ((overall_trend < 0 ) ? " negative" : " positive" ) + " trend" );
41
+ spdlog::debug (" Interval of [" + std::to_string (a) + " ," + std::to_string (b) + " ] does not match " + ((overall_trend < 0 ) ? " negative" : " positive" ) + " trend" );
42
42
return true ;
43
43
}
44
44
return false ;
@@ -64,7 +64,7 @@ namespace AdventOfCode24::Day2 {
64
64
65
65
// If the general trend is zero this is failure
66
66
if (!general_trend) {
67
- spdlog::warn (" No general direction found." );
67
+ spdlog::debug (" No general direction found." );
68
68
return false ;
69
69
}
70
70
@@ -112,7 +112,7 @@ namespace AdventOfCode24::Day2 {
112
112
spdlog::debug (" Line " + std::string ((safe_reports[safe_reports.size () - 1 ]) ? " Passed" : " Failed" ));
113
113
}
114
114
115
- spdlog::info (" Processed " + std::to_string (safe_reports.size ()) + " layers." );
115
+ spdlog::debug (" Processed " + std::to_string (safe_reports.size ()) + " layers." );
116
116
117
117
return safe_reports;
118
118
}
You can’t perform that action at this time.
0 commit comments