up previous next
SetVerbosityLevel

set the verbosity level

Syntax
SetVerbosityLevel(N: INT)

Description
This function sets the verbosity level: various functions defined in CoCoALib and in the CoCoA packages print out some internal progress messages when the global VerbosityLevel is higher than some value (see their specific manual entries for the relevant values, anyway not less than 10).

This may also be applied in user defined functions: values 1-9 may be used without triggering any verbosity from CoCoA.

Example
/**/  SetVerbosityLevel(100);
/**/  use QQ[x,y,z];  GB := GBasis(ideal(x^3 -x*y +1, x*y^2 -y -2));
myDoGBasis[1]: New poly in GB: len(GB) = 1 len(pairs) = 1
myDoGBasis[1]: New poly in GB: len(GB) = 2 len(pairs) = 1
myDoGBasis[1]: New poly in GB: len(GB) = 3 len(pairs) = 2
myDoGBasis[1]: New poly in GB: len(GB) = 4 len(pairs) = 2
myDoGBasis[1]: New poly in GB: len(GB) = 5 len(pairs) = 2

/**/  SetVerbosityLevel(0);  --> unset verbosity

See Also