cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
#include <ologger.hpp>
Classes | |
class | Debug |
class | Error |
class | Info |
Public Types | |
enum class | log_level { LOG_NONE , LOG_ERROR , LOG_INFO , LOG_DEBUG } |
using | endl_type = std::ostream &(std::ostream &) |
Public Member Functions | |
ologger (const std::string &path, const std::string &file_prefix, const std::string &file_suffix, size_t max_file_size, size_t max_files, log_level level=log_level::LOG_NONE) | |
ologger (const ologger &)=delete | |
ologger (ologger &&)=delete | |
ologger & | operator= (const ologger &)=delete |
ologger & | operator= (ologger &&)=delete |
Public Attributes | |
Debug | debug |
Info | info |
Error | error |
Copyright 2016 – 2022 IBM Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition at line 48 of file ologger.hpp.
using ologger::endl_type = std::ostream& (std::ostream&) |
Definition at line 50 of file ologger.hpp.
|
strong |
Enumerator | |
---|---|
LOG_NONE | |
LOG_ERROR | |
LOG_INFO | |
LOG_DEBUG |
Definition at line 52 of file ologger.hpp.
ologger::ologger | ( | const std::string & | path, |
const std::string & | file_prefix, | ||
const std::string & | file_suffix, | ||
size_t | max_file_size, | ||
size_t | max_files, | ||
log_level | level = log_level::LOG_NONE |
||
) |
Definition at line 78 of file ologger.cpp.
|
delete |
|
delete |
Debug ologger::debug |
Definition at line 166 of file ologger.hpp.
Error ologger::error |
Definition at line 168 of file ologger.hpp.
Info ologger::info |
Definition at line 167 of file ologger.hpp.