Skip to main content

LogEntry

Parameters

One listed action, which is one row of the Operation Log.

Import​

import ScriptingApi as api

# Access the class
# LogEntry is available via api.LogEntry

Properties​

session_sequence​

Order of the action within a session listing.

Type: int


project_sequence​

Order of the action within the project history. Zero for a session-only action.

Type: int


utc​

When the action was last recorded, ISO-8601 with milliseconds, in UTC. It is the time the Operation Log panel shows: the start for an action that has not reported a result, and the result for one that has.

Type: str


operation_key​

Stable key of the operation, such as "surface.smooth_laplacian.v1".

Type: str


label​

What the action is called, in the language the application is running in.

Type: str


category​

Catalogued category, empty for a key this build has no entry for.

Type: str


objects​

Names of the objects the action worked on, comma separated.

Type: str


result_summary​

What the action reported, empty when it reported nothing.

Type: str


diagnostic_text​

Why the action did not fully succeed, empty when it did.

Type: str


event_kind​

What kind of record this is, such as "OperationStarted" or "SessionStarted".

Type: str


outcome​

How the action ended: "Succeeded", "PartialSuccess", "Failed", "Cancelled", "NoChange" or "Pending" for one that has not reported a result.

Type: str


source​

How it started: "UserInterface", "Python", "FavoriteScript", "HeadlessScript", "Undo", "Redo" or "System".

Type: str


user_name​

Operating-system username recorded for the action. Empty for older entries or when unavailable.

Type: str


persistence​

"Project" for an action the project keeps, "SessionOnly" for one it does not.

Type: str


undo_availability​

Whether the action can still be undone, and why it cannot.

Type: str


duration_ms​

How long it took in milliseconds, negative when it was not measured.

Type: int


replayable​

Whether the action can be described as a Python call that reproduces it.

Type: bool


deliverable​

Whether it wrote something outside the project rather than changing it.

Type: bool


change​

Whether it is kept in the saved project history, as a change, an export or a save is.

Type: bool


finished​

Whether it reported a result. False for one still running or interrupted.

Type: bool


See Also​