Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class log_string

boost::ui::log_string — Logging stream class with output into provided uistring.

Synopsis

// In header: <boost/ui/log.hpp>


class log_string {
public:
  // construct/copy/destruct
  log_string(uistring &);

  // public member functions
  log_string & location(const char *, int = -1, const char * = NULL);
  log_string & raw(const uistring &);

  // private member functions
  void append_space();
};

Description

log_string public construct/copy/destruct

  1. log_string(uistring & str);
    Constructs log using string for output.

log_string public member functions

  1. log_string & 
    location(const char * file, int line = -1, const char * fn = NULL);
    Logs caller location in the source code.
  2. log_string & raw(const uistring & value);
    Logs string without quotes.

log_string private member functions

  1. void append_space();

PrevUpHomeNext