![]()  | 
  
    Scope
    
   | 
 
#include <ScopeLogger.h>
Classes | |
| class | Impl | 
Public Member Functions | |
| ScopeLogger (const log_message_type &_filem=log_all, const log_message_type &_consolem=log_all, const log_message_type &_logboxm=log_all) | |
| void | SetFilepath (const std::wstring &_filepath=L"C:\\ScopeData") | 
| void | Log (const std::wstring &message, const log_message_type &msgtype) | 
| void | AttachLogFrame (gui::CLogFrame *const _logframe) | 
| HWND | GetLogFrameWindow () | 
| bool | HasLogFrame () | 
| void | GetUserLoggings () | 
| void | DetachLogFrame () | 
| void | Shutdown () | 
Protected Member Functions | |
| Impl & | GetImpl (const log_message_type &filem, const log_message_type &consolem, const log_message_type &logboxm) | 
| Impl *const | Pimpl () | 
Protected Attributes | |
| Impl *const | pimpl | 
A logger class to log various messages and user comments.
Definition at line 24 of file ScopeLogger.h.
| scope::ScopeLogger::ScopeLogger | ( | const log_message_type & | _filem = log_all,  | 
        
| const log_message_type & | _consolem = log_all,  | 
        ||
| const log_message_type & | _logboxm = log_all  | 
        ||
| ) | 
Sets the pimpl from GetImpl.
Definition at line 18 of file ScopeLogger.cpp.
      
  | 
  protected | 
Has the local static implementation object static local variable is in there.
Definition at line 9 of file ScopeLogger.cpp.
      
  | 
  protected | 
Definition at line 14 of file ScopeLogger.cpp.
| void scope::ScopeLogger::SetFilepath | ( | const std::wstring & | _filepath = L"C:\\ScopeData" | ) | 
Sets the filepath and creates logfile.
Definition at line 22 of file ScopeLogger.cpp.
| void scope::ScopeLogger::Log | ( | const std::wstring & | message, | 
| const log_message_type & | msgtype | ||
| ) | 
| void scope::ScopeLogger::AttachLogFrame | ( | gui::CLogFrame *const | _logframe | ) | 
Attaches a CLogFrame as the logbook window.
Calls ScopeLogger::Impl::AttachLogFrame.
Definition at line 30 of file ScopeLogger.cpp.
| HWND scope::ScopeLogger::GetLogFrameWindow | ( | ) | 
Saves log frame parameters into Window (for recreating windows on startup).
Calls ScopeLogger::Impl::GetLogFrameWindow.
Definition at line 34 of file ScopeLogger.cpp.
| bool scope::ScopeLogger::HasLogFrame | ( | ) | 
Definition at line 38 of file ScopeLogger.cpp.
| void scope::ScopeLogger::GetUserLoggings | ( | ) | 
Gets the text in the logbook window and calls FlushLogbox.
Calls ScopeLogger::Impl::GetUserLoggings.
Definition at line 42 of file ScopeLogger.cpp.
| void scope::ScopeLogger::DetachLogFrame | ( | ) | 
Detaches a CLogFrame.
Calls ScopeLogger::Impl::DetachLogFrame.
Definition at line 46 of file ScopeLogger.cpp.
| void scope::ScopeLogger::Shutdown | ( | ) | 
Calls ScopeLogger::Impl::Shutdown.
Definition at line 50 of file ScopeLogger.cpp.
      
  | 
  protected | 
pointer to the implementation
Definition at line 28 of file ScopeLogger.h.