diff options
author | FormerLurker <hochgebe@gmail.com> | 2020-11-20 23:40:10 +0300 |
---|---|---|
committer | FormerLurker <hochgebe@gmail.com> | 2020-11-20 23:40:10 +0300 |
commit | 4f2fef2779e4cac3d31eb2ba4181416efb6a6bab (patch) | |
tree | 7f4adcdc7e46d5cb8812b9235a20a73cfdc27050 /GcodeProcessorLib | |
parent | 995ec6d5b35cf8ae23dabb74065fdafdcc843740 (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.cpp | 3 |
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() { |