Skip to content

Commit

Permalink
Added enable/ disable logging api in Manager class (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
PramodKAvvaru committed Jan 14, 2021
1 parent da00928 commit b776e6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netconf_client/ncclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ def logger():
"""Returns the internally used logger instance (same for all sessions)"""
return _logger

def set_logger_level(self, level):
_logger.setLevel(level)

def _get_timestamp(self):
return datetime.now()

Expand Down

0 comments on commit b776e6f

Please sign in to comment.