Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
cea3e2f89This file is pinned to the selected release. Download the original to open it in your design tool.
#include "syslog/LogThread.h"
#include "syslog/info.h"
#include "main.hpp"
namespace syslog
{
LogInterface& info = Main::getInstance().getLogContainer().getInfo();
LogContainer::LogContainer( lcd::LcdInterface* lcdInterface ):
storage_(),
logThread_( lcdInterface, &storage_ ),
info_( &logThread_ ),
error_( &logThread_ )
{
}
LogInterface& LogContainer::getInfo()
{
return info_;
}
LogInterface& LogContainer::getError()
{
return error_;
}
} // namespace syslog