ALLogger API

Overview | API

Namespace : AL

#include <alproxies/alloggerproxy.h>

Methods

void ALLoggerProxy::debug(const std::string& moduleName, const std::string& message)

Log a debug message.

Deprecated since version 1.12: use qiLogDebug instead

Parameters:
  • moduleName – Name of the module.
  • message – Log Message.
void ALLoggerProxy::error(const std::string& moduleName, const std::string& message)

Log an error message.

Deprecated since version 1.12: use qiLogError instead

Parameters:
  • moduleName – Name of the module.
  • message – Log Message.
void ALLoggerProxy::fatal(const std::string& moduleName, const std::string& message)

Log a fatal message.

Deprecated since version 1.12: use qiLogFatal instead

Parameters:
  • moduleName – Name of the module.
  • message – Log Message.
void ALLoggerProxy::info(const std::string& moduleName, const std::string& message)

Log an info message.

Deprecated since version 1.12: use qiLogInfo instead

Parameters:
  • moduleName – Name of the module.
  • message – Log Message.
void ALLoggerProxy::logInFile(const std::string& fileName)

Allows the logger to store logs in a file. Warning: this is not recomended on NAO.

Deprecated since version 1.12: Create your own log handler with qilog and add it with qi::log::addHandler. See libqi documentation for more details.

Parameters:
  • fileName – The fileName to use. Relative to the user naoqi folder.
void ALLoggerProxy::logInForwarder(const std::string& inputAddress)

Warning

Should not be used.

Publish logs to a Log Forwarder. Pass an empty string in order to use the default value: “tcp://localhost:50998

Parameters:
  • inputAddress – Desired input ZMQ address of the Log Forwarder.
void ALLoggerProxy::logInStd()

Deprecated since version 1.12: do nothing

void ALLoggerProxy::logInSys()

Deprecated since version 1.12: do nothing

void ALLoggerProxy::lowDebug(const std::string& moduleName, const std::string& message)

Log an lowDebug message.

Deprecated since version 1.12: use qiLogDebug instead

Parameters:
  • moduleName – Name of the module.
  • message – Log Message.
void ALLoggerProxy::lowInfo(const std::string& moduleName, const std::string& message)

Log an lowInfo message.

Deprecated since version 1.12: use qiLogVerbose instead

Parameters:
  • moduleName – Name of the module.
  • message – Log Message.
void ALLoggerProxy::removeHandler(const std::string& name)

Deprecated since version 1.12: Do not use since you cannot add any handler with the API.

void ALLoggerProxy::separator()

Output a simple line separator

Deprecated since version 1.12.

void ALLoggerProxy::setFilter()

Deprecated since version 1.12.

void ALLoggerProxy::setVerbosity(const std::string& verbosity)

set verbosity: debug, info, warning, error, fatal, silent. Default is info

Deprecated since version 1.12: use qi::log::setVerbosity instead.

Parameters:
  • verbosity – verbosity value
void ALLoggerProxy::warn(const std::string& moduleName, const std::string& message)

Log a warning.

Deprecated since version 1.12: use qiLogWarning instead.

Parameters:
  • moduleName – Name of the module.
  • message – Log Message.