ldas-tools-ldasgen
2.7.2
|
#include <LogHTML.hh>
Public Types | |
enum | message_type { MT_OK = 0 , MT_WARN = 1 , MT_ERROR = 2 , MT_EMAIL , MT_PHONE = 4 , MT_DEBUG = 5 , MT_NOTE = 6 , MT_ORANGE , MT_CERTMAIL , MT_GREEN = MT_OK , MT_YELLOW = MT_WARN , MT_RED = MT_ERROR , MT_MAIL = MT_EMAIL , MT_PAGER = MT_PHONE , MT_BLUE = MT_DEBUG , MT_PURPLE = MT_NOTE , MT_OK = 0 , MT_WARN = 1 , MT_ERROR = 2 , MT_EMAIL , MT_PHONE = 4 , MT_DEBUG = 5 , MT_NOTE = 6 , MT_ORANGE , MT_CERTMAIL , MT_GREEN = MT_OK , MT_YELLOW = MT_WARN , MT_RED = MT_ERROR , MT_MAIL = MT_EMAIL , MT_PAGER = MT_PHONE , MT_BLUE = MT_DEBUG , MT_PURPLE = MT_NOTE , MT_OK = 0 , MT_WARN = 1 , MT_ERROR = 2 , MT_EMAIL , MT_PHONE = 4 , MT_DEBUG = 5 , MT_NOTE = 6 , MT_ORANGE , MT_CERTMAIL , MT_GREEN = MT_OK , MT_YELLOW = MT_WARN , MT_RED = MT_ERROR , MT_MAIL = MT_EMAIL , MT_PAGER = MT_PHONE , MT_BLUE = MT_DEBUG , MT_PURPLE = MT_NOTE } |
Types of messages. More... | |
enum | message_type { MT_OK = 0 , MT_WARN = 1 , MT_ERROR = 2 , MT_EMAIL , MT_PHONE = 4 , MT_DEBUG = 5 , MT_NOTE = 6 , MT_ORANGE , MT_CERTMAIL , MT_GREEN = MT_OK , MT_YELLOW = MT_WARN , MT_RED = MT_ERROR , MT_MAIL = MT_EMAIL , MT_PAGER = MT_PHONE , MT_BLUE = MT_DEBUG , MT_PURPLE = MT_NOTE , MT_OK = 0 , MT_WARN = 1 , MT_ERROR = 2 , MT_EMAIL , MT_PHONE = 4 , MT_DEBUG = 5 , MT_NOTE = 6 , MT_ORANGE , MT_CERTMAIL , MT_GREEN = MT_OK , MT_YELLOW = MT_WARN , MT_RED = MT_ERROR , MT_MAIL = MT_EMAIL , MT_PAGER = MT_PHONE , MT_BLUE = MT_DEBUG , MT_PURPLE = MT_NOTE , MT_OK = 0 , MT_WARN = 1 , MT_ERROR = 2 , MT_EMAIL , MT_PHONE = 4 , MT_DEBUG = 5 , MT_NOTE = 6 , MT_ORANGE , MT_CERTMAIL , MT_GREEN = MT_OK , MT_YELLOW = MT_WARN , MT_RED = MT_ERROR , MT_MAIL = MT_EMAIL , MT_PAGER = MT_PHONE , MT_BLUE = MT_DEBUG , MT_PURPLE = MT_NOTE } |
Types of messages. More... | |
enum | message_type { MT_OK = 0 , MT_WARN = 1 , MT_ERROR = 2 , MT_EMAIL , MT_PHONE = 4 , MT_DEBUG = 5 , MT_NOTE = 6 , MT_ORANGE , MT_CERTMAIL , MT_GREEN = MT_OK , MT_YELLOW = MT_WARN , MT_RED = MT_ERROR , MT_MAIL = MT_EMAIL , MT_PAGER = MT_PHONE , MT_BLUE = MT_DEBUG , MT_PURPLE = MT_NOTE , MT_OK = 0 , MT_WARN = 1 , MT_ERROR = 2 , MT_EMAIL , MT_PHONE = 4 , MT_DEBUG = 5 , MT_NOTE = 6 , MT_ORANGE , MT_CERTMAIL , MT_GREEN = MT_OK , MT_YELLOW = MT_WARN , MT_RED = MT_ERROR , MT_MAIL = MT_EMAIL , MT_PAGER = MT_PHONE , MT_BLUE = MT_DEBUG , MT_PURPLE = MT_NOTE , MT_OK = 0 , MT_WARN = 1 , MT_ERROR = 2 , MT_EMAIL , MT_PHONE = 4 , MT_DEBUG = 5 , MT_NOTE = 6 , MT_ORANGE , MT_CERTMAIL , MT_GREEN = MT_OK , MT_YELLOW = MT_WARN , MT_RED = MT_ERROR , MT_MAIL = MT_EMAIL , MT_PAGER = MT_PHONE , MT_BLUE = MT_DEBUG , MT_PURPLE = MT_NOTE } |
Types of messages. More... | |
enum | time_format { TF_GMT , TF_LOCAL , TF_GMT , TF_LOCAL , TF_GMT , TF_LOCAL } |
enum | time_format { TF_GMT , TF_LOCAL , TF_GMT , TF_LOCAL , TF_GMT , TF_LOCAL } |
enum | time_format { TF_GMT , TF_LOCAL , TF_GMT , TF_LOCAL , TF_GMT , TF_LOCAL } |
Public Member Functions | |
HTML (const std::string &BaseName) | |
Constructor. More... | |
virtual HTML * | Clone (const std::string &BaseName) const |
Create a new instance. More... | |
virtual const char * | FileExtension () const |
virtual std::string | FormatJobInfo (const std::string &JobInfo) const |
virtual void | Message (message_type MessageType, level_type Level, const std::string &Caller, const std::string &JobInfo, const std::string &Message) |
HTML (const std::string &BaseName) | |
Constructor. More... | |
virtual HTML * | Clone (const std::string &BaseName) const |
Create a new instance. More... | |
virtual const char * | FileExtension () const |
virtual std::string | FormatJobInfo (const std::string &JobInfo) const |
virtual void | Message (message_type MessageType, level_type Level, const std::string &Caller, const std::string &JobInfo, const std::string &Message) |
HTML (const std::string &BaseName) | |
Constructor. More... | |
virtual HTML * | Clone (const std::string &BaseName) const |
Create a new instance. More... | |
virtual const char * | FileExtension () const |
virtual std::string | FormatJobInfo (const std::string &JobInfo) const |
virtual void | Message (message_type MessageType, level_type Level, const std::string &Caller, const std::string &JobInfo, const std::string &Message) |
Static Public Member Functions | |
static std::string | FormatTime (time_format Format, const LDASTools::AL::GPSTime &Time) |
static std::string | FormatTime (time_format Format, const LDASTools::AL::GPSTime &Time) |
static std::string | FormatTime (time_format Format, const LDASTools::AL::GPSTime &Time) |
static std::string | LogFilename (const char *Extension, int Version) |
static std::string | LogFilename (const char *Extension, int Version) |
static std::string | LogFilename (const char *Extension, int Version) |
Protected Member Functions | |
virtual void | header () |
virtual void | header () |
virtual void | header () |
virtual void | footer () |
virtual void | footer () |
virtual void | footer () |
virtual void | onStreamClose () |
virtual void | onStreamClose () |
virtual void | onStreamClose () |
virtual void | onStreamOpen () |
virtual void | onStreamOpen () |
virtual void | onStreamOpen () |
void | writeDirect (const std::string &Message) |
Send a message immediately to the logging stream. More... | |
void | writeDirect (const std::string &Message) |
Send a message immediately to the logging stream. More... | |
void | writeDirect (const std::string &Message) |
Send a message immediately to the logging stream. More... | |
Static Protected Member Functions | |
static std::string | siteInfoLookup (const std::string &LDASSystemName) |
Rotate the logs according to the LDAS rules. More... | |
static std::string | siteInfoLookup (const std::string &LDASSystemName) |
static std::string | siteInfoLookup (const std::string &LDASSystemName) |
Private Member Functions | |
void | html_header () |
Write the HTML header into the log. More... | |
void | html_trailer () |
Write the HTML trailer into the log. More... | |
void | html_header () |
Write the HTML header into the log. More... | |
void | html_trailer () |
Write the HTML trailer into the log. More... | |
void | html_header () |
Write the HTML header into the log. More... | |
void | html_trailer () |
Write the HTML trailer into the log. More... | |
HTML Logging class.
|
inherited |
Types of messages.
|
inherited |
Types of messages.
|
inherited |
Types of messages.
|
inherited |
|
inherited |
|
inherited |
GenericAPI::Log::HTML::HTML | ( | const std::string & | BaseName | ) |
Constructor.
[in] | BaseName | The base name to be used for creation of the log file. |
GenericAPI::Log::HTML::HTML | ( | const std::string & | BaseName | ) |
Constructor.
[in] | BaseName | The base name to be used for creation of the log file. |
GenericAPI::Log::HTML::HTML | ( | const std::string & | BaseName | ) |
Constructor.
[in] | BaseName | The base name to be used for creation of the log file. |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements GenericAPI::Log::LDAS.
|
virtual |
Implements GenericAPI::Log::LDAS.
|
virtual |
Implements GenericAPI::Log::LDAS.
|
protectedvirtualinherited |
Reimplemented in GenericAPI::Log::Text, GenericAPI::Log::Text, and GenericAPI::Log::Text.
|
protectedvirtualinherited |
Reimplemented in GenericAPI::Log::Text, GenericAPI::Log::Text, and GenericAPI::Log::Text.
|
protectedvirtualinherited |
Reimplemented in GenericAPI::Log::Text, GenericAPI::Log::Text, and GenericAPI::Log::Text.
|
virtual |
Implements GenericAPI::Log::LDAS.
|
virtual |
Implements GenericAPI::Log::LDAS.
|
virtual |
Implements GenericAPI::Log::LDAS.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
protectedvirtualinherited |
Reimplemented in GenericAPI::Log::Text, GenericAPI::Log::Text, and GenericAPI::Log::Text.
|
protectedvirtualinherited |
Reimplemented in GenericAPI::Log::Text, GenericAPI::Log::Text, and GenericAPI::Log::Text.
|
protectedvirtualinherited |
Reimplemented in GenericAPI::Log::Text, GenericAPI::Log::Text, and GenericAPI::Log::Text.
|
private |
Write the HTML header into the log.
|
private |
Write the HTML header into the log.
|
private |
Write the HTML header into the log.
|
private |
Write the HTML trailer into the log.
|
private |
Write the HTML trailer into the log.
|
private |
Write the HTML trailer into the log.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
virtual |
Implements GenericAPI::Log::LDAS.
|
virtual |
Implements GenericAPI::Log::LDAS.
|
virtual |
Implements GenericAPI::Log::LDAS.
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
staticprotectedinherited |
Rotate the logs according to the LDAS rules.
|
staticprotectedinherited |
|
staticprotectedinherited |
|
inlineprotectedinherited |
Send a message immediately to the logging stream.
|
protectedinherited |
Send a message immediately to the logging stream.
|
protectedinherited |
Send a message immediately to the logging stream.