Logs & Debug

Explaining where to find logs file and write them

Individual Mod Logs

On game launch, Cyber Engine Tweaks generates individual logs files in each mod folder, using their name. eg, <>/mods/my_mod/my_mod.log.

../
├─ cyber_engine_tweaks/
│  ├─ mods/
│  │  ├─ my_mod/
│  │  │  ├─ init.lua
│  │  │  ├─ my_mod.log <- automatically generated

What it contains

This file contains all notices, errors and logs generated by the mod.

Write the file

You can write the log file using the spdlog functions.

Watch the file

You can use Tailblazer App to watch files in live with a GUI, or use the following command line in the Windows Command shell:

<cmd>
tail -f "C:/path/to/Cyberpunk 2077/bin/x64/plugins/cyber_engine_tweaks/mods/my_mod/my_mod.log"

CET Console Logs

Cyber Engine Tweaks has a global log file located in <>/scripting.log.

../
├─ cyber_engine_tweaks/
│  ├─ scripting.log

What it contains

This file contains all logs from the CET Console.

Write the file

You can write the log file by using the print() function.

Watch the file

You can use Tailblazer App to watch files in live with a GUI, or use the following command line in the Windows Command shell:

<cmd>
tail -f "C:/path/to/Cyberpunk 2077/bin/x64/plugins/cyber_engine_tweaks/scripting.log"

Last updated