Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorsington committed Jul 14, 2020
1 parent be19752 commit 788b2d3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ Based on [Ben.Demystifier](https://github.com/benaadams/Ben.Demystifier).

**How to use:** This is a preloader patcher. Put the compiled DLL into `BepInEx/patchers`. Requires BepInEx 5 (or BepInEx 4 with MonoMod.RuntimeDetour).

### RedirectInternalLogs
### MirrorInternalLogs

This preloader patcher allows to capture and redirect Unity internal debug logs (i.e. the contents of `output_log.txt`).
This preloader patcher allows to capture and mirror Unity internal debug logs (i.e. the contents of `output_log.txt`).
Preloader patch provides a public event one can listen to which will receive all Unity logs, including internal debug logs that are only output to `output_log.txt`.

Unlike output log, which can be disabled in the game, this redirect will always capture said debug logs.
Unlike output log, which can be disabled in the game, this mirror will always capture said debug logs. If Unity already outputs `output_log.txt`,
this plugin will simply create a copy of it in a more accessible place that `%APPDATA%`.

**How to use:** This is a preloader patcher. Put the compiled DLL into `BepInEx/patchers`.
By default, logs are output to `unity_log.txt`. This is configurable via `RedirectInternalLogs.cfg` configuration file that gets generated on the first run.
By default, logs are output to `unity_log.txt`. This is configurable via `MirrorInternalLogs.cfg` configuration file that gets generated on the first run.

### Simple Mono Profiler
A simple profiler that can be used in any Unity player build as long as it can run BepInEx 5.x. It can generate a .csv file with profiling results from an arbitrary length of time.
Expand Down

0 comments on commit 788b2d3

Please sign in to comment.