Changeset 2488 in ProjectBuilder for devel/pb/lib/ProjectBuilder/Changelog.pm


Ignore:
Timestamp:
Mar 30, 2020, 8:21:44 PM (4 years ago)
Author:
Bruno Cornec
Message:

Improve debug messages

  • pb_distro_get_param now an internal function printing name of hash members
  • use pb_distro_guess instead of pb_distro_get
  • pb_distro_get and pb_distro_get_if introduced to replace call to pb_conf_get(_if)* + and old pb_distro_get_param
  • add pb_distro_get_in_conf_if for another use case of old pb_distro_get_param
  • fix all calls to these functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Changelog.pm

    r2287 r2488  
    66# $Id$
    77#
    8 # Copyright B. Cornec 2007-2016
     8# Copyright B. Cornec 2007-today
    99# Provided under the GPL v2
    1010
     
    7474my $log = "";
    7575
    76 pb_log(2,"Entering pb_changelog - pb: ".Dumper($pb)."\n");
    77 pb_log(2,"Entering pb_changelog - doit: $doit\n") if (defined $doit);
    78 pb_log(2,"Entering pb_changelog - OUTPUT: $OUTPUT\n") if (defined $OUTPUT);
     76pb_log(3,"Entering pb_changelog - pb: ".Dumper($pb)."\n");
     77pb_log(3,"Entering pb_changelog - doit: $doit\n") if (defined $doit);
    7978# For date handling
    8079$ENV{'LANG'}="C";
     
    214213}
    215214close(INPUT);
    216 pb_log(2,"Exiting pb_changelog\n");
     215pb_log(3,"Exiting pb_changelog\n");
    217216}
    218217
Note: See TracChangeset for help on using the changeset viewer.