.TH "log4tango::Level" 3 "Wed Sep 2 2020" "Version 5.0.2" "log4tango" \" -*- nroff -*- .ad l .nh .SH NAME log4tango::Level .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "enum \fBLevelLevel\fP { \fBOFF\fP = 100, \fBFATAL\fP = 200, \fBERROR\fP = 300, \fBWARN\fP = 400, \fBINFO\fP = 500, \fBDEBUG\fP = 600 }" .br .RI "Levels of Priorities\&. " .ti -1c .RI "typedef int \fBValue\fP" .br .RI "The type of \fBLevel\fP Values\&. " .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static const std::string & \fBget_name\fP (\fBValue\fP level)" .br .RI "Returns the name of the given level value\&. " .ti -1c .RI "static \fBValue\fP \fBget_value\fP (const std::string &level_name)" .br .RI "Returns the value of the given level name\&. " .in -1c .SH "Member Typedef Documentation" .PP .SS "typedef int \fBlog4tango::Level::Value\fP" .PP The type of \fBLevel\fP Values\&. .SH "Member Enumeration Documentation" .PP .SS "enum \fBlog4tango::Level::LevelLevel\fP" .PP Levels of Priorities\&. .PP \fBEnumerator\fP .in +1c .TP \fB\fIOFF \fP\fP .TP \fB\fIFATAL \fP\fP .TP \fB\fIERROR \fP\fP .TP \fB\fIWARN \fP\fP .TP \fB\fIINFO \fP\fP .TP \fB\fIDEBUG \fP\fP .SH "Member Function Documentation" .PP .SS "const std::string & log4tango::Level::get_name (\fBValue\fP level)\fC [static]\fP" .PP Returns the name of the given level value\&. Currently, if the value is not one of the LevelLevel values, the method returns the name of the largest level smaller the given value\&. .PP \fBParameters\fP .RS 4 \fIlevel\fP the numeric value of the level\&. .RE .PP \fBReturns\fP .RS 4 a string representing the name of the level\&. .RE .PP .SS "\fBLevel::Value\fP log4tango::Level::get_value (const std::string & level_name)\fC [static]\fP" .PP Returns the value of the given level name\&. This can be either one of 'OFF', 'ERRROR', \&.\&.\&. or a decimal string representation of the value, e\&.g\&. '500' for DEBUG\&. .PP \fBParameters\fP .RS 4 \fIlevel_name\fP the string containing the the of the level .RE .PP \fBReturns\fP .RS 4 the value corresponding with the level name .RE .PP \fBExceptions\fP .RS 4 \fIstd::invalid_argument\fP if the level_name does not correspond with a known \fBLevel\fP name or a number .RE .PP .SH "Author" .PP Generated automatically by Doxygen for log4tango from the source code\&.