Menu
Login
Language
DE EN FR ES IT CZ
Back

whats the target of print?

  • #1, by rhavin grobert Sunday, 05. November 2017, 16:41 8 years ago Quote
    In oder to debug (read: in order to guess differences between expectations by documentation and real behaviour of implementation^^) i came across print, which prints to *where*?

    I already found the console (documentation: "Nähere Informationen dazu finden Sie in einem separaten Kapitel." - ??), but where does my print print to?

    Newbie

    47 Posts

  • #2, by ke4 Sunday, 05. November 2017, 17:02 8 years ago Quote
    It prints into log file.

    AppData\Local\VisionaireStudio\Project
    Under Windows.

    Key Killer

    810 Posts

  • #3, by sebastian Sunday, 05. November 2017, 17:46 8 years ago Quote
    for macOS:
    /Users/<user>/Library/Logs/(<yourgamecompanyname>/)<yourgamename>

    Thread Captain

    2346 Posts

  • #4, by afrlme Sunday, 05. November 2017, 17:53 8 years ago Quote
    Or if you are using VS5 then you can read the log in the developer console while running your game via the editor. Press TAB to open & close the developer console.

    Also here's a quick tip: If you hover the mouse over the icons to the left of the search bar on the editor it will dropdown a menu. Click on the option that says "goto messages.log" to open up the folder containing the log files, save files & config.ini for your opened project.

    Imperator

    7290 Posts

  • #5, by rhavin grobert Sunday, 05. November 2017, 20:03 8 years ago Quote
    well, does not seem to work.

    I added a simple print("test") to a script I know that gets executed, but while the function does what it should do, the print goes to nirvana, there is no 'test' in the messages.log

    I need some way to output values for debugging.

    Newbie

    47 Posts

  • #6, by afrlme Sunday, 05. November 2017, 20:08 8 years ago Quote
    Open up the options for VS editor. Go to player & set log level to info.

    Imperator

    7290 Posts