I try to use override GrabDebugSnapshot for MyActor from VisualLogger example.But Failed

These are my codes,Compile no error.
But nothing happened when I Use Start Visual Logger,I want It can trace ’MyActor‘ and add to its category.
I don’t know why Implement the Interface and it can log ,did this Func call by other instance.

Thanks.

#include "VisualLogger/VisualLoggerDebugSnapshotInterface.h"

UCLASS()
class MYPROJECT2_API AMyActor : public AActor, public IVisualLoggerDebugSnapshotInterface

#if ENABLE_VISUAL_LOG
	virtual void GrabDebugSnapshot(FVisualLogEntry* Snapshot) const override;
#endif
#include "VisualLogger/VisualLoggerTypes.h"
#include "VisualLogger/VisualLogger.h"

#if ENABLE_VISUAL_LOG
void AMyActor::GrabDebugSnapshot(FVisualLogEntry* Snapshot) const
{
	const int32 CatIndex = Snapshot->Status.AddZeroed();
	FVisualLogStatusCategory& PlaceableCategory = Snapshot->Status[CatIndex];
	PlaceableCategory.Category = TEXT("My Category");
	PlaceableCategory.Add(TEXT("My Character Class"), TEXT("Log some stuff"));
}
#endif