From 63b83ab0bbe8fb0920ca4d283682f00c2dc95fb1 Mon Sep 17 00:00:00 2001 From: Tobias Dammers Date: Wed, 13 Oct 2021 17:16:16 +0200 Subject: [PATCH] logging --- addon-main.nas | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addon-main.nas b/addon-main.nas index 2ed9552..4e14c1f 100644 --- a/addon-main.nas +++ b/addon-main.nas @@ -403,12 +403,12 @@ var setAloftWinds = func (aloftPoint) { node.getChild('wind-speed-kt').setValue(aloftPoint.layers[i].spd); # node.getChild('temperature-degc').setValue(aloftPoint.layers[i].temp); logprint( - 1, - sprintf("ALOFT #%i %5i': %03i/%i", - i, + 2, + sprintf("ALOFT AFTER %5i': %03i/%i (slp = %02.2f)", node.getChild('elevation-ft').getValue(), node.getChild('wind-from-heading-deg').getValue(), - node.getChild('wind-speed-kt').getValue())); + node.getChild('wind-speed-kt').getValue(), + node.getChild('pressure-sea-level-inhg').getValue())); } };