#include <logger_formatters.hh>
Inheritance diagram for lestes::msg::fullname_formatter:

Public Member Functions | |
| virtual ::std::ostream & | format (const ptr< logger > &,::std::ostream &) |
| virtual void | format_end (const ptr< logger > &,::std::ostream &) |
Static Public Member Functions | |
| static ptr< fullname_formatter > | instance () |
Protected Member Functions | |
| fullname_formatter () | |
Static Private Attributes | |
| static ptr< fullname_formatter > | the_instance = the_instance |
Definition at line 56 of file logger_formatters.hh.
| lestes::msg::fullname_formatter::fullname_formatter | ( | ) | [protected] |
| ptr< fullname_formatter > lestes::msg::fullname_formatter::instance | ( | ) | [static] |
Definition at line 65 of file logger_formatters.cc.
References fullname_formatter(), and the_instance.
00066 { 00067 if (!the_instance) 00068 the_instance = new fullname_formatter(); 00069 return the_instance; 00070 }
| std::ostream & lestes::msg::fullname_formatter::format | ( | const ptr< logger > & | , | |
| ::std::ostream & | ||||
| ) | [virtual] |
Implements lestes::msg::logger_formatter.
Definition at line 72 of file logger_formatters.cc.
References lestes::msg::logger2fullname().
00073 { 00074 return os << logger2fullname(l) << ": "; 00075 }
| void lestes::msg::fullname_formatter::format_end | ( | const ptr< logger > & | , | |
| ::std::ostream & | ||||
| ) | [virtual] |
ptr< fullname_formatter > lestes::msg::fullname_formatter::the_instance = the_instance [static, private] |
1.5.1-20070107