You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This logger is then passed to the ShellActivity and Campaign objects. The logger should be created within the campaign class or elsewhere in zambeze. Instead of passing a logger object to the campaign class, an argument can be used to enable/disable logging for the campaign such as Campaign(enable_logging=True). Regarding the activity class, there is no reason to pass a logger to the activity so just remove the Activity(logger) argument.
The text was updated successfully, but these errors were encountered:
To create a script for a zambeze activity and campaign, the user must create a logger such as:
This logger is then passed to the
ShellActivity
andCampaign
objects. The logger should be created within the campaign class or elsewhere in zambeze. Instead of passing a logger object to the campaign class, an argument can be used to enable/disable logging for the campaign such asCampaign(enable_logging=True)
. Regarding the activity class, there is no reason to pass a logger to the activity so just remove theActivity(logger)
argument.The text was updated successfully, but these errors were encountered: