LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp_logging.py
Go to the documentation of this file.
1# -*- coding: utf-8 -*-
2"""
3Author: J.A. de Jong
4
5Description: configure the logging of messages
6"""
7import logging, sys
8# __all__ = ['configureLogging']
9
10# global_loglevel = None
11
12# def configureLogging(level=None):
13
14# # Oh yeah, one global variable
15# global global_loglevel
16# if level is None:
17# level is global_loglevel
18# else:
19# global_loglevel = level
20
21# if level is None:
22# raise RuntimeError('Log level has not yet been set application wide')
23
24