AsyncLoggers
YEET the logs to their own thread!
About this mod Author’s original text
Async Loggers
============
YEET the logs to their own thread!
For the users:
Async Logs:
remove any log related lag by processing them separately from the game stuff.
the more logs your modpack generates the bigger the impact this mod has!
Database log file:
adds another log file in sqlite format for easier navigation of logs
Log Level filter:
Reduce logs from mods by specifying a LogLevel for each LogSource
Unity Log wrapping:
Detect calls to Unity.Debug inside the game assemblies and allow users to tweak them
Note: Has to be enabled in the config LogWrapping.Enabled
For the Developers:
the class AsyncLoggers.API.AsyncLoggersAPI contains a method to register your own ILogListener into AsyncLoggers system:
public static void UpdateListenerFlags(ILogListener target, LogListenerFlags flags)
possible flags are:
- SyncHandling
This listener will receive logs directly, without any buffering or delay.
- IgnoreFilters
This listener will receive all logs, bypassing any filters that might be applied.
- AddTimeStamp
This listener will have a timestamp prepended to the log messages.
- None
additionally the class exposes two properties:
- APIVersion
The current version of the API, represented as a Version.
- TraceableLevelsMask
a flag enum representing what LogLevel will make AsyncLoggers block to collect stacktrace.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: