MCPcopy Create free account
hub / github.com/defold/defold / log

Function log

build_tools/log.py:25–37  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

23 print(*map(f, objects), sep=sep, end=end, file=file)
24
25def log(msg):
26 if type(msg) == bytes:
27 try:
28 print (msg.decode('utf-8'))
29 except:
30 try:
31 print (msg.decode('utf-16'))
32 except:
33 pass
34 else:
35 _uprint(msg)
36 sys.stdout.flush()
37 sys.stderr.flush()

Callers 9

clangFunction · 0.90
clang_cppFunction · 0.90
_exec_commandFunction · 0.90
releaseFunction · 0.90
get_bucketFunction · 0.90
releaseFunction · 0.90
dmgFunction · 0.90
releaseFunction · 0.90

Calls 4

_uprintFunction · 0.85
decodeMethod · 0.80
printFunction · 0.50
flushMethod · 0.45

Tested by

no test coverage detected