Wasatch.VCPP 1.0.19
Visual C++ driver for Wasatch Photonics spectrometers
Public Types | Public Member Functions | Public Attributes | List of all members
WasatchVCPP::Logger Class Reference

Internal logger (outputs to textfile if configured). More...

#include <Logger.h>

Public Types

enum class  Levels { LOG_LEVEL_DEBUG = 0 , LOG_LEVEL_INFO = 1 , LOG_LEVEL_ERROR = 2 , LOG_LEVEL_NEVER = 3 }
 keep synchronized with like-named macros in WasatchVCPP.h
 

Public Member Functions

void debug (const char *fmt,...)
 
void info (const char *fmt,...)
 
void error (const char *fmt,...)
 
bool setLogfile (const std::string &pathname)
 

Public Attributes

Levels level = Levels::LOG_LEVEL_DEBUG
 

Detailed Description

Internal logger (outputs to textfile if configured).


The documentation for this class was generated from the following files: