MachineIntelligenceCore:Toolchain
|
Contains declarations of logger auxiliary functions, macros and severity type. More...
#include <string>
Go to the source code of this file.
Namespaces | |
mic | |
Main Machine Intelligence Core namespace. | |
mic::logger | |
Contains classes, types and defines used for dynamic, multilevel logging. | |
Macros | |
#define | LTRACE mic::logger::Trace |
#define | LDEBUG mic::logger::Debug |
#define | LNOTICE mic::logger::Notice |
#define | LINFO mic::logger::Info |
#define | LSTATUS mic::logger::Status |
#define | LWARNING mic::logger::Warning |
#define | LERROR mic::logger::Error |
#define | LFATAL mic::logger::Fatal |
Enumerations | |
enum | mic::logger::Severity_t { mic::logger::Trace = 0, mic::logger::Debug, mic::logger::Notice, mic::logger::Info, mic::logger::Status, mic::logger::Warning, mic::logger::Error, mic::logger::Fatal } |
Message severity level. More... | |
Functions | |
std::string | mic::logger::sev2str (Severity_t sev_) |
Contains declarations of logger auxiliary functions, macros and severity type.
Copyright (C) tkornuta, IBM Corporation 2015-2019
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file LoggerAux.hpp.
#define LDEBUG mic::logger::Debug |
Definition at line 53 of file LoggerAux.hpp.
Referenced by mic::configuration::PropertyTree::loadPropertiesFromConfigNode(), main(), mic::application::ContinuousLearningApplication::performTestingStep(), mic::configuration::ParameterServer::print(), mic::configuration::PropertyTree::printProperties(), and mic::configuration::ParameterServer::registerPropertyTree().
#define LERROR mic::logger::Error |
Definition at line 58 of file LoggerAux.hpp.
Referenced by mic::configuration::ParameterServer::loadPropertiesFromConfiguration(), main(), and mic::configuration::ParameterServer::parseApplicationParameters().
#define LFATAL mic::logger::Fatal |
Definition at line 59 of file LoggerAux.hpp.
Referenced by mic::logger::LoggerOutput::incrementLvl(), and main().
#define LINFO mic::logger::Info |
Definition at line 55 of file LoggerAux.hpp.
Referenced by mic::configuration::ParameterServer::initializePropertyDependentVariables(), mic::configuration::PropertyTree::loadPropertiesFromConfigNode(), mic::configuration::ParameterServer::loadPropertiesFromConfiguration(), main(), mic::configuration::ParameterServer::parseApplicationParameters(), mic::configuration::PropertyTree::printPropertiesWithValues(), mic::configuration::ParameterServer::returnNode(), and mic::application::Application::run().
#define LNOTICE mic::logger::Notice |
Definition at line 54 of file LoggerAux.hpp.
Referenced by main().
#define LSTATUS mic::logger::Status |
Definition at line 56 of file LoggerAux.hpp.
Referenced by mic::application::Application::displayStatus(), mic::application::ApplicationState::displayStatus(), mic::application::ApplicationState::divideSleepInterval(), mic::configuration::ParameterServer::initializePropertyDependentVariables(), mic::application::KeyHandlerRegistry::keyboardHandler(), mic::application::KeyHandlerRegistry::keyhandlerDisplayOptions(), mic::application::KeyHandlerRegistry::KeyHandlerRegistry(), mic::configuration::ParameterServer::loadPropertiesFromConfiguration(), main(), mic::application::ApplicationState::multiplySleepInterval(), and mic::configuration::ParameterServer::parseApplicationParameters().
#define LTRACE mic::logger::Trace |
Definition at line 52 of file LoggerAux.hpp.
Referenced by mic::logger::LoggerOutput::decrementLvl(), mic::application::KeyHandlerRegistry::keyboardHandler(), mic::application::KeyHandlerRegistry::keyhandlerDecrementLoggerLevel(), mic::application::KeyHandlerRegistry::keyhandlerDisplayAppState(), mic::application::KeyHandlerRegistry::keyhandlerDisplayOptions(), mic::application::KeyHandlerRegistry::keyhandlerFastenUp(), mic::application::KeyHandlerRegistry::keyhandlerIncrementLoggerLevel(), mic::application::KeyHandlerRegistry::keyhandlerPause(), mic::application::KeyHandlerRegistry::keyhandlerQuit(), mic::application::KeyHandlerRegistry::keyhandlerResetProcessingTime(), mic::application::KeyHandlerRegistry::keyhandlerSingleStep(), mic::application::KeyHandlerRegistry::keyhandlerSlowDown(), mic::application::KeyHandlerRegistry::keyhandlerToggleLearning(), mic::configuration::PropertyTree::loadPropertiesFromConfigNode(), main(), and mic::logger::ScopeLogger::ScopeLogger().
#define LWARNING mic::logger::Warning |
Definition at line 57 of file LoggerAux.hpp.
Referenced by mic::application::KeyHandlerRegistry::keyboardHandler(), mic::configuration::PropertyTree::loadPropertiesFromConfigNode(), main(), and mic::configuration::ParameterServer::returnNode().