So I would declare it for instance in the logging package.Exactly. Or, you could declare it in a package of your own definition as you seem to have originally intended. The latter course avoids the possibility that a 'reasonable' name given by you to your variable might at some later time be used by the maintainer of the logging module you're using, thus engendering a naming collision with effects that might suddenly appear from the blue and be rather puzzling and difficult to debug.
Or, you could make your new package inherit from the logging module you're using, extending the attributes and functions of the old module... but that's a whole 'nother discussion!
In reply to Re^5: Why do I get a "used only once" warning here?
by AnomalousMonk
in thread Why do I get a "used only once" warning here?
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |