ReFRACtor
fp_logger.h
Go to the documentation of this file.
1 #ifndef FP_LOGGER_H
2 #define FP_LOGGER_H
3 #include "logger.h"
4 #include <iostream>
5 
6 namespace FullPhysics {
7 /****************************************************************/
12 class FpLogger : public LogImp {
13 public:
14 //-----------------------------------------------------------------------
16 //-----------------------------------------------------------------------
17 
18  FpLogger(int Verbosity_level = LogImp::DEBUG)
19  : verbosity_level_(Verbosity_level) { }
20  virtual ~FpLogger() {}
21  virtual void flush(log_level l);
22  virtual std::ostream* stream() {return &std::cout;}
23 private:
24  int verbosity_level_;
25 };
26 }
27 
28 #endif
virtual void flush(log_level l)
Flush data to log.
Definition: fp_logger.cc:19
The actual implementation of the Logger.
Definition: logger.h:11
virtual ~FpLogger()
Definition: fp_logger.h:20
virtual std::ostream * stream()
Underlying stream, can be null if no underlying stream.
Definition: fp_logger.h:22
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
This is the implementation of the Logger used for the Full Physics program.
Definition: fp_logger.h:12
FpLogger(int Verbosity_level=LogImp::DEBUG)
Constructor.
Definition: fp_logger.h:18

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:08