Add logging

This commit is contained in:
Florent Guiotte 2019-03-01 18:17:33 +01:00
parent 9d0078663f
commit 4431d231de

View File

@ -15,6 +15,9 @@ Everything should be highly tested there.
""" """
import numpy as np import numpy as np
import logging
log = logging.getLogger(__name__)
def first(a): def first(a):
"""Returns the inverse of the parameter. """Returns the inverse of the parameter.
@ -31,6 +34,7 @@ def first(a):
b : integer b : integer
Inverse of a. Inverse of a.
""" """
log.info('first called.')
return -a return -a
def bbox(data): def bbox(data):