Peano
Loading...
Searching...
No Matches
LogFilterFileReader.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5#include <string>
6
7#include "tarch/logging/Log.h"
8
9namespace tarch {
10 namespace logging {
11 class LogFilterFileReader;
12 }
13}
14
50 private:
52
56 static bool interpretTokens( const std::string& levelToken, const std::string& classNameToken, const std::string& rankToken, const std::string& onOffToken, const std::string& phaseToken );
57
61 static bool parseLine(std::ifstream& file, const std::string& filename, const std::string& line, int linenumber);
62
63 static std::string trimLine( const std::string& line );
64
65 public:
78 static bool parsePlainTextFile( const std::string& filename );
79};
static std::string trimLine(const std::string &line)
static bool parsePlainTextFile(const std::string &filename)
Tries to parse a simple text file where each line contains an entry.
static bool interpretTokens(const std::string &levelToken, const std::string &classNameToken, const std::string &rankToken, const std::string &onOffToken, const std::string &phaseToken)
static bool parseLine(std::ifstream &file, const std::string &filename, const std::string &line, int linenumber)
Log Device.
Definition Log.h:516
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:19