Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
dev_mode = False
34
35
def
log(msg):
36
f = open(LOG, mode=
'ab'
)
37
f.write(msg.encode(
'utf-8'
))
38
f.close()
39
40
def
run(command):
41
log(
'\n\n%s: RUN: %s\n'
% (datetime.datetime.now(), command))
Callers
4
run
Function · 0.85
prepare
Function · 0.85
scale
Function · 0.85
d3_scale_log
Function · 0.85
Calls
3
encode
Method · 0.80
write
Method · 0.65
close
Method · 0.65
Tested by
no test coverage detected