Bin Yang 3b74d6b556 Update License Statement for notificationclient
Story: 2008529
Task: 41923

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: If2237b94fada714e87f5e58e4563cbcea8fe5aff
2021-02-24 10:00:44 +08:00

19 lines
384 B
Python

#
# Copyright (c) 2021 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
import logging
def get_logger(module_name):
logger = logging.getLogger(module_name)
return config_logger(logger)
def config_logger(logger):
'''
configure the logger: uncomment following lines for debugging
'''
# logger.setLevel(level=logging.DEBUG)
return logger