Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FormerLurker/ArcWelderLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFormerLurker <hochgebe@gmail.com>2020-11-20 23:40:10 +0300
committerFormerLurker <hochgebe@gmail.com>2020-11-20 23:40:10 +0300
commit4f2fef2779e4cac3d31eb2ba4181416efb6a6bab (patch)
tree7f4adcdc7e46d5cb8812b9235a20a73cfdc27050 /GcodeProcessorLib
parent995ec6d5b35cf8ae23dabb74065fdafdcc843740 (diff)
Add -z parameter to console app to support arcs, take z into account when calculating spiral length.
Diffstat (limited to 'GcodeProcessorLib')
-rw-r--r--GcodeProcessorLib/logger.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/GcodeProcessorLib/logger.cpp b/GcodeProcessorLib/logger.cpp
index 8511777..9fa5a6d 100644
--- a/GcodeProcessorLib/logger.cpp
+++ b/GcodeProcessorLib/logger.cpp
@@ -30,13 +30,14 @@ logger::logger(std::vector<std::string> names, std::vector<int> levels) {
logger_names_ = new std::string[static_cast<int>(num_loggers_)];
logger_levels_ = new int[static_cast<int>(num_loggers_)];
// this is slow due to the vectors, but it is trivial. Could switch to an iterator
+
for (int index = 0; index < num_loggers_; index++)
{
logger_names_[index] = names[index];
logger_levels_[index] = levels[index];
}
-
set_log_level_by_value(NOSET);
+
}
logger::~logger() {