Skip to content

DaneRainbird/DebugLogErrorFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Debug.LogError() Finder

A simple Python script to find all occurrences of Debug.LogError() in all the .cs files located in a given directory.

Background

Debug.LogError() is a useful Unity scripting API function, that allows a developer to log an error message to the console.

As a result, these calls are often left in the code of various games and applications that make use of Unity. This tool aims to make it easier to find these calls, such as when looking for debug strings to document on The Cutting Room Floor.

Usage

Run the script using your Python environment of choice:

python main.py

When providing the directory path, ensure that you provide an un-escaped directory (i.e. D:\path\to\files rather than D:\\path\\to\\files)

License

Unlicense

About

Simple Python script to find Debug.LogError() calls in a given directory.

Topics

Resources

License

Stars

Watchers

Forks

Languages