Skip to main content

LogSource

Enumerations

Which recorded history a listing or an export names. A call names exactly one, because the three are ordered by different fields and mixing them would invent an order nothing recorded. Available values: - ProjectHistory: What the open project carries and what a project file would save. - ProjectSession: What this session recorded for the open project, including session-only actions. - SessionTrace: Everything this process recorded, including a project that was closed.

Import​

import ScriptingApi as api

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

Enumeration Values​

Enumeration Type from LogSource

ValueDescription
LogSource.ProjectHistoryProjectHistory option
LogSource.ProjectSessionProjectSession option
LogSource.SessionTraceSessionTrace option

Usage Example​

import ScriptingApi as api

# Access enumeration values
value = api.LogSource.ProjectHistory

See Also​