FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
FMTquietlogger.hpp
Go to the documentation of this file.
1/*
2Copyright (c) 2019 Gouvernement du Québec
3
4SPDX-License-Identifier: LiLiQ-R-1.1
5License-Filename: LICENSES/EN/LiLiQ-R11unicode.txt
6*/
7
8#ifndef FMTquiettlogger_H_INCLUDED
9#define FMTquiettlogger_H_INCLUDED
10
11#include "FMTlogger.hpp"
12#include <boost/serialization/nvp.hpp>
13
14namespace Logging
15{
16// DocString: FMTquietlogger
21 {
22 // DocString: FMTquietlogger::serialize
26 friend class boost::serialization::access;
27 template<class Archive>
28 void serialize(Archive& ar, const unsigned int version)
29 {
30 ar & boost::serialization::make_nvp("FMTlogger", boost::serialization::base_object<FMTlogger>(*this));
31 }
32 public:
33 // DocString: FMTquietlogger()
38 // DocString: FMTquietlogger(const FMTquietlogger&)
42 FMTquietlogger(const FMTquietlogger&) = default;
43 // DocString: FMTquietlogger::operator=
47 FMTquietlogger& operator = (const FMTquietlogger&) = default;
48 // DocString: FMTquietlogger::~FMTquietlogger
52 ~FMTquietlogger()=default;
53 #ifdef FMTWITHOSI
54 // DocString: FMTquietlogger::print
59 int print() override;
60 // DocString: FMTquietlogger::checkSeverity
64 void checkSeverity() override;
65 // DocString: FMTquietlogger::clone
69 FMTlogger* clone() const override;
70 #endif
71 // DocString: FMTquietlogger::cout
75 void cout(const char* message) const override;
76
77
78 };
79}
80
81BOOST_CLASS_EXPORT_KEY(Logging::FMTquietlogger)
82
83#endif
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTlogger.hpp:37
Definition: FMTquietlogger.hpp:21
int print() override
void checkSeverity() override
FMTlogger * clone() const override
FMTquietlogger(const FMTquietlogger &)=default
void cout(const char *message) const override
Namespace for the log management, provides different log handlers.
Definition: FMTdebuglogger.hpp:14