__author__ = 'Cisco Systems'
__email__ = 'ucs-python@cisco.com'
__version__ = '0.9.0.3'

@@ -1,8 +1,1233 @@
+# Copyright 2016 Cisco Systems, Inc.%0A#%0A# Licensed under the Apache License, Version 2.0 (the %22License%22);%0A# you may not use this file except in compliance with the License.%0A# You may obtain a copy of the License at%0A#  http://www.apache.org/licenses/LICENSE-2.0%0A#%0A# Unless required by applicable law or agreed to in writing, software%0A# distributed under the License is distributed on an %22AS IS%22 BASIS,%0A# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A# See the License for the specific language governing permissions and%0A# limitations under the License.%0A%0A%0Aimport logging%0A%0Alog = logging.getLogger('imc')%0Aconsole = logging.StreamHandler()%0Aformatter = logging.Formatter(%0A    '%25(asctime)s - %25(name)s - %25(levelname)s - %25(message)s')%0Aconsole.setFormatter(formatter)%0A%0A%0Adef set_log_level(level=logging.DEBUG):%0A    %22%22%22%0A    Allows setting log level%0A%0A    Args:%0A        level: logging level - import logging and pass enums from it(INFO/DEBUG/ERROR/etc..)%0A%0A    Returns:%0A        None%0A%0A    Example:%0A        from imcsdk import set_log_level%0A        import logging%0A%0A        set_log_level(logging.INFO)%0A    %22%22%22%0A    log.setLevel(level)%0A    console.setLevel(level)%0A%0Aset_log_level(logging.DEBUG)%0A%0Alog.addHandler(console)%0A%0A
 __author

support for changing log level (#42)