#include <Object.h>
A named object with a Logger instance. 
Definition at line 11 of file Object.h.
◆ Object()
- Parameters
- 
  
    | name | the name of this object |  | lev | the log level |  
 
 
 
◆ ~Object()
  
  | 
        
          | iguana::Object::~Object | ( |  | ) |  |  | inline | 
 
 
◆ GetLog()
      
        
          | std::unique_ptr< Logger > & iguana::Object::GetLog | ( |  | ) |  | 
      
 
- Returns
- reference to this object's logger 
 
 
◆ GetName()
      
        
          | std::string iguana::Object::GetName | ( |  | ) | const | 
      
 
- Returns
- the name of this object 
 
 
◆ Log()
      
        
          | std::unique_ptr< Logger > & iguana::Object::Log | ( |  | ) |  | 
      
 
Get the logger 
- Returns
- the logger used by this object 
 
 
◆ SetLogLevel() [1/2]
Set the log level to this level. Log messages with a lower level will not be printed. 
- See also
- Logger::Level for available levels. 
- Parameters
- 
  
  
 
 
◆ SetLogLevel() [2/2]
      
        
          | void iguana::Object::SetLogLevel | ( | std::string_view | lev | ) |  | 
      
 
Set the log level to this level. Log messages with a lower level will not be printed. 
- See also
- Logger::Level for available levels. 
- Parameters
- 
  
  
 
 
◆ SetName()
      
        
          | void iguana::Object::SetName | ( | std::string_view | name | ) |  | 
      
 
Change the name of this object 
- Parameters
- 
  
  
 
 
◆ m_log
  
  | 
        
          | std::unique_ptr<Logger> iguana::Object::m_log |  | protected | 
 
 
◆ m_name
  
  | 
        
          | std::string iguana::Object::m_name |  | protected | 
 
The name of this object. 
Definition at line 49 of file Object.h.
 
 
The documentation for this class was generated from the following file:
- /__w/iguana/iguana/iguana_src/src/iguana/services/Object.h