MCPcopy Create free account
hub / github.com/apache/impala / log_timestamp

Function log_timestamp

shell/impala_shell/impala_client.py:1566–1569  ·  view source on GitHub ↗
(type="Exception", msg="")

Source from the content-addressed store, hash-verified

1564
1565
1566def log_timestamp(type="Exception", msg=""):
1567 # method log_timestamp prints timestamp with custom message
1568 print("%s [%s] %s" % (time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()), type, msg),
1569 file=sys.stderr)

Callers 1

_execute_stmtMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected