P4C
The P4 Compiler
Loading...
Searching...
No Matches
Logging::Logger Class Referenceabstract

Base class for logging to a file. More...

#include <logging.h>

Inheritance diagram for Logging::Logger:
[legend]

Public Member Functions

 Logger (const char *filename, LogLevel_t level=INFO)
 
virtual void log ()
 
virtual void serialize (Writer &) const =0
 
void setLevel (LogLevel_t level)
 

Static Public Member Functions

static const std::string buildDate (void)
 

Detailed Description

Base class for logging to a file.