74_Nmap: enhanced logging

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13821 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
igami 2017-03-27 19:05:04 +00:00
parent 7c20dd0de0
commit 7e47ca1a94

View File

@ -176,6 +176,7 @@ sub Nmap_Set($@) {
sub Nmap_Attr(@) {
my ($cmd, $SELF, $attribute, $value) = @_;
my $hash = $defs{$SELF};
my $TYPE = $hash->{TYPE};
Log3($SELF, 5, "$TYPE ($SELF) - entering Nmap_Attr");
@ -551,6 +552,7 @@ sub Nmap_deleteOldReadings($$) {
sub Nmap_updateUptime($$;$) {
my ($hash, $metaReading, $uptime) = @_;
my $SELF = $hash->{NAME};
my $TYPE = $hash->{TYPE};
Log3($SELF, 5, "$TYPE ($SELF) - entering Nmap_updateUptime");