Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Added: Subsytem logging methods #407

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions parameter/Subsystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ class PARAMETER_EXPORT CSubsystem : public CConfigurableElement, private IMapper
// Subsystem object creator publication (strong reference)
void addSubsystemObjectFactory(CSubsystemObjectCreator *pSubsystemObjectCreator);

/** Logging methods
*@{
*/
core::log::details::Info info() const { return _logger.info(); }
core::log::details::Warning warning() const { return _logger.warning(); }
/* @} */

private:
CSubsystem(const CSubsystem &);
CSubsystem &operator=(const CSubsystem &);
Expand Down