MCPcopy Create free account
hub / github.com/apache/solr / log

Function log

dev-tools/scripts/buildAndPushRelease.py:35–38  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

33dev_mode = False
34
35def log(msg):
36 f = open(LOG, mode='ab')
37 f.write(msg.encode('utf-8'))
38 f.close()
39
40def run(command):
41 log('\n\n%s: RUN: %s\n' % (datetime.datetime.now(), command))

Callers 4

runFunction · 0.85
prepareFunction · 0.85
scaleFunction · 0.85
d3_scale_logFunction · 0.85

Calls 3

encodeMethod · 0.80
writeMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected