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
- previous_value
value before interpretation (actual for
business_logic.models.Variable
)
- current_value
value after interpretation
- exception
exception if it raised during interpretation.
- class business_logic.models.ExceptionLog(*args, **kwargs)
Stores information about exception raised during node interpretation.
- log_entry
parent 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
- arguments
arguments of execution
- Type:
- start_time
start execution time
- Type:
datetime
- finish_time
finish execution time
- Type:
datetime
- log
root node of LogEntries
- class business_logic.models.ExecutionArgument(*args, **kwargs)
Stores information about argument passed to
business_logic.models.ProgramVersion.execute()
.- execution
parent Execution object
- program_argument
parent ProgramArgument object
- content_object
passed argument
- Type:
django.db.models.Model