snaplogger: snaplogger::console_appender Class Reference

snaplogger  1.0.0
Easy to use logger in C++.
Inheritance diagram for snaplogger::console_appender:
Collaboration diagram for snaplogger::console_appender:
Public Types typedef std::shared_ptr< console_appenderpointer_t   typedef std::vector< pointer_t > vector_t   Public Member Functions  console_appender (std::string const name)   void add_component (component::pointer_t comp)   format::pointer_t get_format () const   std::string const & get_name () const   severity_t get_severity () const   std::string const & get_type () const   bool is_enabled () const   virtual void reduce_severity (severity_t severity_level)   virtual void reopen ()   void send_message (message const &msg)   virtual void set_config (advgetopt::getopt const &params) override   virtual void set_enabled (bool status)   virtual format::pointer_t set_format (format::pointer_t new_format)   virtual void set_severity (severity_t severity_level)   virtual bool unique () const override   Protected Member Functions virtual void process_message (message const &msg, std::string const &formatted_message) override   Private Attributes snap::raii_fd_t f_console = snap::raii_fd_t()   int f_fd = -1   std::string f_filename = std::string()   bool f_flush = true   bool f_force_style = false   bool f_initialized = false   bool f_is_a_tty = true   bool f_lock = true   std::string f_output = std::string("stderr")   Detailed Description

Definition at line 48 of file console_appender.h.


The documentation for this class was generated from the following files:

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.

Syndicate content

Snap! Websites
An Open Source CMS System in C++

Contact Us Directly