# Exit for loops

**URL:** <https://forums.unrealengine.com/t/exit-for-loops/824204>\
**Category:** Programming & Scripting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [March 26, 2023, 9:48am UTC](https://forums.unrealengine.com/t/exit-for-loops/824204 "2023-03-26T09:48:09Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Incredulous\_Hulk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/incredulous_hulk/32/924210_2.png) [@Incredulous\_Hulk](https://forums.unrealengine.com/u/Incredulous_Hulk)\
**Post date:** [April 17, 2023, 4:18pm UTC](https://forums.unrealengine.com/t/exit-for-loops/824204/7 "2023-04-17T16:18:41Z")

</div>

> [@Use Print in function that uses specifiers](https://forums.unrealengine.com/t/use-print-in-function-that-uses-specifiers/1013005/2):
>
> When working with more restricted specifiers you’ll have to switch from using Print to using the log object APIs. Here is an example of setting them up and using them. # The name of this class (ie. my\_log\_channel ) will automatically prepend your messages in the log. Ex: "my\_log\_channel: MyMessage" my\_log\_channel := class(log\_channel){} my\_device := class(creative\_device): # Create an instance of the `log` object. Logger:log = log{ Channel := my\_log\_channel } MyMethod()\<transacts\>:…

---

_[View the full topic](https://forums.unrealengine.com/t/exit-for-loops/824204)._
