LoginSignup
0
0

More than 3 years have passed since last update.

Unity:出力されたログのファイルを開く

Posted at

はじめに

こんにちは、のんびりエンジニアのたっつーです。
ブログを運営しているのでよろしければ見てください。

Unityのコンソールウィンドウを右クリックメニューから「Open Editor Log」を選択することにより、ログファイルを開くことができます。

image-98-300x227.png

コンソール画面

以下のようなログが出力されていた場合、ファイルはこのように出力されます。

image-97.png

ログファイルの内容

Info
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
TestLog:Start() (at Assets\TestLog.cs:9)

(Filename: Assets/TestLog.cs Line: 9)

Warning
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
TestLog:Start() (at Assets\TestLog.cs:10)

(Filename: Assets/TestLog.cs Line: 10)

Error
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
TestLog:Start() (at Assets\TestLog.cs:11)

終わりに

よければ ブログ「初心者向けUnity情報サイト」の方にも色々記載しているのでぜひご参照いただければと思います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0