← Back to team overview

ufl team mailing list archive

Re: Debug level messages

 

l = ufl.log.ufl_logger.get_logger()
l.log((logging.INFO + logging.DEBUG)/2, "message")

Martin



2009/3/6 Anders Logg <logg@xxxxxxxxx>:
> Is there any way to write debug messages on a level other than 0
> (using info) or 1 (using debug)?
>
> --
> Anders
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkmxjYoACgkQTuwUCDsYZdEu+QCfYvOvQDKs2VJaV/GQy8rRtZgK
> ZP4An11hJ1Rgba/MakLVLvLUgI344Zws
> =5eDk
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> UFL-dev mailing list
> UFL-dev@xxxxxxxxxx
> http://fenics.org/mailman/listinfo/ufl-dev
>
>


Follow ups

References