# Write message in log

**URL:** <https://forum.inductiveautomation.com/t/write-message-in-log/62908>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [August 11, 2022, 7:38am UTC](https://forum.inductiveautomation.com/t/write-message-in-log/62908 "2022-08-11T07:38:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![m.pelagatti](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/m.pelagatti/32/68595_2.png) [@m.pelagatti](https://forum.inductiveautomation.com/u/m.pelagatti)\
**Post date:** [August 11, 2022, 7:46am UTC](https://forum.inductiveautomation.com/t/write-message-in-log/62908/2 "2022-08-11T07:46:43Z")

</div>

Read this post:

> [@Creating a log and print function that is not working?](https://forum.inductiveautomation.com/t/creating-a-log-and-print-function-that-is-not-working/42203):
>
> Unsure why this is not working, probably some niche reason I am unaware of. I have two scripts that are involved here, def universalPrint(message): """ Will work for vision or perspective clients now. Args: message: str, what do you want to print Returns: None """ from env import isVision if isVision(): print message else: import system.perspective system.perspective.print(message) This has works fine and has been use in use for a while. My new script which is printing, bu…

---

_[View the full topic](https://forum.inductiveautomation.com/t/write-message-in-log/62908)._
