6 #include "zypp/base/LogControl.h"
7 #include "zypp/base/LogTools.h"
8 #include <zypp/base/Logger.h>
10 #include <zypp/base/String.h>
11 #include <zypp/base/Iterator.h>
12 #include <zypp/base/Algorithm.h>
13 #include <zypp/base/Functional.h>
17 ///////////////////////////////////////////////////////////////////
22 bool operator()( const Tp & val_r ) const
23 { USR << val_r << endl; return true; }
26 ///////////////////////////////////////////////////////////////////
29 struct PrintOn : public std::unary_function<Tp, bool>
31 bool operator()( const Tp & obj ) const
34 _str << std::endl << _prfx << obj;
36 _str << _prfx << obj << std::endl;
40 PrintOn( std::ostream & str, const std::string & prfx = std::string(), bool leadNL = false )
51 ///////////////////////////////////////////////////////////////////
52 #endif // MA_PRINTING_H