Mercurial > hg > orthanc
comparison Core/Logging.cpp @ 3629:19966d299685 toa2020012701
Fixed typo in function impl name
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 27 Jan 2020 14:32:09 +0100 |
parents | d2b9981017c4 |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3628:70398cc7aa15 | 3629:19966d299685 |
---|---|
551 // Also disable the "TRACE" level when info-level debugging is disabled | 551 // Also disable the "TRACE" level when info-level debugging is disabled |
552 loggingContext_->traceEnabled_ = false; | 552 loggingContext_->traceEnabled_ = false; |
553 } | 553 } |
554 } | 554 } |
555 | 555 |
556 bool IsInfoLevelEnable() | 556 bool IsInfoLevelEnabled() |
557 { | 557 { |
558 boost::mutex::scoped_lock lock(loggingMutex_); | 558 boost::mutex::scoped_lock lock(loggingMutex_); |
559 assert(loggingContext_.get() != NULL); | 559 assert(loggingContext_.get() != NULL); |
560 | 560 |
561 return loggingContext_->infoEnabled_; | 561 return loggingContext_->infoEnabled_; |
573 // Also enable the "INFO" level when trace-level debugging is enabled | 573 // Also enable the "INFO" level when trace-level debugging is enabled |
574 loggingContext_->infoEnabled_ = true; | 574 loggingContext_->infoEnabled_ = true; |
575 } | 575 } |
576 } | 576 } |
577 | 577 |
578 bool IsTraceLevelEnable() | 578 bool IsTraceLevelEnabled() |
579 { | 579 { |
580 boost::mutex::scoped_lock lock(loggingMutex_); | 580 boost::mutex::scoped_lock lock(loggingMutex_); |
581 assert(loggingContext_.get() != NULL); | 581 assert(loggingContext_.get() != NULL); |
582 | 582 |
583 return loggingContext_->traceEnabled_; | 583 return loggingContext_->traceEnabled_; |