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 {
3434 values.end (),
3535 [&overall_trend](int a, int b) {
3636 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));
3838 return true ;
3939 }
4040 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" );
4242 return true ;
4343 }
4444 return false ;
@@ -64,7 +64,7 @@ namespace AdventOfCode24::Day2 {
6464
6565 // If the general trend is zero this is failure
6666 if (!general_trend) {
67- spdlog::warn (" No general direction found." );
67+ spdlog::debug (" No general direction found." );
6868 return false ;
6969 }
7070
@@ -112,7 +112,7 @@ namespace AdventOfCode24::Day2 {
112112 spdlog::debug (" Line " + std::string ((safe_reports[safe_reports.size () - 1 ]) ? " Passed" : " Failed" ));
113113 }
114114
115- spdlog::info (" Processed " + std::to_string (safe_reports.size ()) + " layers." );
115+ spdlog::debug (" Processed " + std::to_string (safe_reports.size ()) + " layers." );
116116
117117 return safe_reports;
118118 }
You can’t perform that action at this time.
0 commit comments