MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / log_account_event

Method log_account_event

app/runtime_logging.py:175–204  ·  view source on GitHub ↗
(
        self,
        *,
        account_id: str,
        action: str,
        stage: str,
        status: str,
        message: str,
        details: dict[str, Any] | None = None,
        source: str = "",
        product_id: str = "",
        pay_type: str = "",
        level: int = logging.INFO,
    )

Source from the content-addressed store, hash-verified

173 )
174
175 def log_account_event(
176 self,
177 *,
178 account_id: str,
179 action: str,
180 stage: str,
181 status: str,
182 message: str,
183 details: dict[str, Any] | None = None,
184 source: str = "",
185 product_id: str = "",
186 pay_type: str = "",
187 level: int = logging.INFO,
188 ) -> None:
189 run = FlowRun(
190 run_id=self._make_run_id(),
191 account_id=account_id,
192 action=action.strip() or "event",
193 source=source.strip(),
194 product_id=product_id.strip(),
195 pay_type=pay_type.strip(),
196 )
197 self.log_event(
198 run,
199 stage=stage,
200 status=status,
201 message=message,
202 details=details,
203 level=level,
204 )
205
206 def log_system_event(
207 self,

Callers 14

handle_aegisflow_errorFunction · 0.80
handle_unexpected_errorFunction · 0.80
check_paymentMethod · 0.80
start_account_flowMethod · 0.80
start_stock_monitorMethod · 0.80
stop_stock_monitorMethod · 0.80
request_pauseMethod · 0.80
_check_stock_onceMethod · 0.80
_run_account_flowMethod · 0.80

Calls 3

_make_run_idMethod · 0.95
log_eventMethod · 0.95
FlowRunClass · 0.85

Tested by

no test coverage detected