MCPcopy Create free account
hub / github.com/CL-lau/SQL-GPT / error

Function error

logger/selflogger.py:4–13  ·  view source on GitHub ↗

Log a message with severity 'ERROR' on the root logger. If the logger has no handlers, call basicConfig() to add a console handler with a pre-defined format.

(msg, *args, **kwargs)

Source from the content-addressed store, hash-verified

2
3
4def error(msg, *args, **kwargs):
5 """
6 Log a message with severity 'ERROR' on the root logger. If the logger has
7 no handlers, call basicConfig() to add a console handler with a pre-defined
8 format.
9 """
10 logging.error(msg, *args, **kwargs)
11 """
12 后续增加切面
13 """
14
15
16def info(msg, *args, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected