FScopedBTLoggingContext

Helper struct to push a node as the new logging context and automatically reset the context on destruction.

Choose your operating system:

Windows

macOS

Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeTypes.h

Include

#include "BehaviorTree/BehaviorTreeTypes.h"

Syntax

struct FScopedBTLoggingContext

Remarks

Helper struct to push a node as the new logging context and automatically reset the context on destruction.

Constructors

Name Description

Public function

FScopedBTLoggingContext()

Public function

FScopedBTLoggingContext

(
    const UBTNode* Context
)

Destructors

Name Description

Public function

~FScopedBTLoggingContext()