diff options
Diffstat (limited to 'logservice.py')
-rw-r--r-- | logservice.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/logservice.py b/logservice.py index dd90f7b..00af91e 100644 --- a/logservice.py +++ b/logservice.py @@ -4,6 +4,11 @@ Copyright (c) 2003-2004 LOGILAB S.A. (Paris, FRANCE), all rights reserved. http://www.logilab.fr/ -- mailto:contact@logilab.fr """ +from warnings import warn +warn('this module is deprecated and will disappear in a near release. \ +use logging module instead.', + DeprecationWarning, stacklevel=1) + __revision__ = "$Id: logservice.py,v 1.5 2006-03-05 16:13:28 syt Exp $" from logilab.common.logger import make_logger, LOG_ERR, LOG_WARN, LOG_NOTICE, \ |