Logging¶
-
class
business_logic.models.
Logger
¶ Processed log creation during calling the
business_logic.models.ProgramVersion.execute()
method. Will work only ifContext.config.log
flag is set toTrue
.
-
class
business_logic.models.
LogEntry
(*args, **kwargs)¶ Derived from treebeard.AL_Node. Stores single
business_logic.models.Node
interpretation event. Will be created only ifContext.config.log
flag is set toTrue
.-
node
¶ currently interpreted node
Type: business_logic.models.Node
-
previous_value
¶ value before interpretation (actual for
business_logic.models.Variable
)
-
current_value
¶ value after interpretation
-
exception
¶ exception if it raised during interpretation.
Type: business_logic.models.ExceptionLog
-
-
class
business_logic.models.
ExceptionLog
(*args, **kwargs)¶ Stores information about exception raised during node interpretation.
-
log_entry
¶ parent LogEntry
Type: business_logic.models.LogEntry
-
module
¶ exception module
Type: str
-
type
¶ exception type
Type: str
-
message
¶ exception message
Type: str
-
traceback
¶ traceback
Type: str
-
-
class
business_logic.models.
Execution
(*args, **kwargs)¶ Stores information about calling the
business_logic.models.ProgramVersion.execute()
method. Will be created only ifContext.config.debug
flag is set toTrue
.-
program_version
¶ executed ProgramVersion
Type: business_logic.models.ProgramVersion
-
arguments
¶ arguments of execution
Type: list
ofbusiness_logic.models.ExecutionArgument
-
start_time
¶ start execution time
Type: datetime
-
finish_time
¶ finish execution time
Type: datetime
-
log
¶ root node of LogEntries
Type: business_logic.models.LogEntry
-
-
class
business_logic.models.
ExecutionArgument
(*args, **kwargs)¶ Stores information about argument passed to
business_logic.models.ProgramVersion.execute()
.-
execution
¶ parent Execution object
Type: business_logic.models.Execution
-
program_argument
¶ parent ProgramArgument object
Type: business_logic.models.ProgramArgument
-
content_object
¶ passed argument
Type: django.db.models.Model
-