Changeset 112003 in spip-zone for _plugins_/less-css


Ignore:
Timestamp:
Oct 15, 2018, 5:04:08 PM (4 months ago)
Author:
cedric@…
Message:

un peu plus de chronometrage dans less

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/less-css/trunk/lesscss_fonctions.php

    r112002 r112003  
    105105        try {
    106106                $parser->parse($style,$url_absolue);
     107                spip_log('lesscss_compile parse '.(isset($contexte['file'])?$contexte['file']:substr($style,0,100)).' :: '.spip_timer('lesscss_compile'), 'less');
     108                spip_timer('lesscss_compile');
    107109                $out = $parser->getCss();
    108110
     
    119121                }
    120122
    121                 spip_log('lesscss_compile '.(isset($contexte['file'])?$contexte['file']:substr($style,0,100)).' :: '.spip_timer('lesscss_compile'), 'less');
     123                spip_log('lesscss_compile getCSS '.(isset($contexte['file'])?$contexte['file']:substr($style,0,100)).' :: '.spip_timer('lesscss_compile'), 'less');
    122124                return $out;
    123125        }
Note: See TracChangeset for help on using the changeset viewer.