- Home /
Have my debug log saved to a .log file in build.
Hey there, I would like my debug log in the unity console (in the editor) to be saved to a .log file somewhere, with a name like debug.log. So when in the script there is something like,
if (1 = 1) {
debug.log ("That's right")
}
have that debug log saved to a file that can be accessed by the end user and sent to the devs for further support. :)
thanks alot, Wilson
afaik no.
afaik there's some else way to make a .log stuff, ...
Answer by CodeElemental · Feb 28, 2014 at 02:28 PM
It is already written to a file that you can view it in the Help -> Open Editor Console Log section.
The location of the log files from the unity documentation.
The documentation you linked gives no location for the mobile platforms. Any idea regarding iOS or Android?
$$anonymous$$aybe this broke in 2017.1, but the Editor log contains just editor bookkeeping, not Debug.Log (or similar). Which is fairly useless.
Answer by seandres · Dec 09, 2014 at 01:35 PM
This might be useful for you http://www.thegameengineer.com/blog/2014/02/09/unity-11-logging/