check log record in handler instead of client

This commit is contained in:
2022-11-22 02:28:52 +02:00
parent 78e6b48c24
commit 3bca780bdd
6 changed files with 34 additions and 25 deletions

View File

@ -89,11 +89,12 @@ class Client:
"""
return InternalStatus(status=BuildStatus())
def logs(self, record: logging.LogRecord) -> None:
def logs(self, package_base: str, record: logging.LogRecord) -> None:
"""
post log record
Args:
package_base(str) package base
record(logging.LogRecord): log record to post to api
"""