SGProcessingManager/include/util/sgprocmgr-logger.hpp¶
Namespaces¶
| Name |
|---|
| sgns |
| sgns::sgprocmanager |
Types¶
| Name | |
|---|---|
| using std::shared_ptr< spdlog::logger > | Logger |
Functions¶
| Name | |
|---|---|
| Logger | createLogger(const std::string & tag, const std::string & basepath ="") |
Types Documentation¶
using Logger¶
Functions Documentation¶
function createLogger¶
Parameters:
- tag - tagging name for identifying logger
Return: logger object
Provide logger object
Source code¶
#ifndef SGPROCESSINGMANAGER_LOGGER_HPP
#define SGPROCESSINGMANAGER_LOGGER_HPP
#include <spdlog/fmt/ostr.h>
#include <spdlog/spdlog.h>
#if defined( ANDROID )
#include <spdlog/sinks/android_sink.h>
#endif
namespace sgns::sgprocmanager
{
using Logger = std::shared_ptr<spdlog::logger>;
Logger createLogger( const std::string &tag, const std::string &basepath = "" );
} // namespace sgns::sgprocmanager
#endif // SGPROCESSINGMANAGER_LOGGER_HPP
Updated on 2026-03-04 at 13:10:44 -0800