Activity class Activity Represents an operation with context to be used for logging. Documentation Code public Activity()