In SDL Tridion 2013 there are two types of Automatic Activity scripts: C# Scriptlet and External Activity (a .NET assembly made available as a Template Building Block).
In the C# Scriptlet type there is a predefined Logger
variable (Tridion.ContentManager.Workflow.Logger
) which contains methods like Information
, Verbose
, Warning
and Write
.
When using an External Activity type, this class doesn't seem to be available in the Tridion.ContentManager.Workflow
namespace.
Is there a way to use this same class in External Activity just as in C# Scriptlet, or do we have to use the Tridion.Logging.Logger
class instead?