Skip to content

Commit

Permalink
Use new logger in debug calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjsr committed Feb 21, 2025
1 parent ec827af commit 5151d91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import collections

import FileSystemUtils
import Log

isWindows = sys.platform.startswith('win')

Expand Down Expand Up @@ -601,7 +602,7 @@ def _getstr( x ):

def new_f( *args, **kwargs ):
parameters = [_getstr(a) for a in args] + [ '{}={}'.format( key, _getstr(value) ) for key, value in kwargs.items() ]
writeLog( 'call: {}({})'.format(f.__name__, removeDiacritic(', '.join(parameters))) )
Log.getLogger(name=f.__name__,).entering(removeDiacritic(', '.join(parameters)))
return f( *args, **kwargs)
return new_f

Expand Down

0 comments on commit 5151d91

Please sign in to comment.