Skip to content

Be not so verbose #332

@christoph-morrison

Description

@christoph-morrison

sub debug_message {
local $OFS = qq{\n};
my $device_name = shift;
if ( int( ::AttrVal( q{global}, q{verbose}, 0 ) ) >= $DEBUGGING_MIN_VERBOSE
or int( ::AttrVal( $device_name, q{debug}, 0 ) ) == 1 )
{
::Debug( join $OFS, ( qq{[$device_name]}, qq{@_} ) );
}
return;
}

debug_message is much to chatty

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions