[zypp-commit] r7934 - /trunk/libzypp/zypp/sat/SATResolver.cc
Author: schubi2 Date: Tue Nov 27 12:14:19 2007 New Revision: 7934 URL: http://svn.opensuse.org/viewcvs/zypp?rev=7934&view=rev Log: sat_logging added Modified: trunk/libzypp/zypp/sat/SATResolver.cc Modified: trunk/libzypp/zypp/sat/SATResolver.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/sat/SATResolver.cc?rev=7934&r1=7933&r2=7934&view=diff ============================================================================== --- trunk/libzypp/zypp/sat/SATResolver.cc (original) +++ trunk/libzypp/zypp/sat/SATResolver.cc Tue Nov 27 12:14:19 2007 @@ -37,7 +37,8 @@ #include "satsolver/repo_solv.h" #include "satsolver/poolarch.h" #include "satsolver/evr.h" -#include "satsolver/poolvendor.h" +#include "satsolver/poolvendor.h" +#include "satsolver/sat_debug.h" } ///////////////////////////////////////////////////////////////////////// @@ -78,6 +79,11 @@ return os << "<resolver/>"; } +void logSat (char *logString) +{ + MIL << logString; +} + //--------------------------------------------------------------------------- @@ -93,7 +99,10 @@ , _architecture( zypp_detail::defaultArchitecture() ) { - + // initialialize logging + sat_set_debug( getenv("ZYPP_FULLLOG") ? DEBUG_5 : ERROR, + 1 ); // logging linenumer, function,.... + sat_set_debugCallback (logSat); } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
schubi2@svn.opensuse.org