aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.pm5
-rw-r--r--URPM.xs6
2 files changed, 11 insertions, 0 deletions
diff --git a/URPM.pm b/URPM.pm
index be23569..9e65289 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -638,6 +638,11 @@ Delete a macro.
Destroys macros.
+=item setVerbosity($level)
+
+Sets rpm verbosity level. $level is an integer between 2 (RPMMESS_CRIT) and 7
+(RPMMESS_DEBUG).
+
=back
=head1 COPYRIGHT
diff --git a/URPM.xs b/URPM.xs
index 290b3a2..f43984e 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3634,4 +3634,10 @@ resetmacros()
PPCODE:
rpmFreeMacros(NULL);
+void
+setVerbosity(level)
+ int level
+ PPCODE:
+ rpmSetVerbosity(level);
+
/* vim:set ts=8 sts=2 sw=2: */