Correction de la fonction de log

Signed-off-by: Nelson HOUILLON <houillon.nelson@gmail.com>
algo: maxi/min/amplitude/sequence

Signed-off-by: Nelson HOUILLON <houillon.nelson@gmail.com>