Logging
Logging and tracing functions
With Cyberpunk >= 2.01, you need to paste the snippet below into e.g.
r6\scripts\Logs.reds
if you want to avoid UNRESOLVED_FN
errors at compile time.
This will give access to these functions to all scripts (including yours):
Since game version 2.01, some of these declarations are not imported by default like previously. You must declare them yourself if you want to use them, otherwise you'll get an UNRESOLVED_FN
error at compilation time.
Do not package this file with your mod though because that would lead to conflicts with other scripts.
Example usage
Last updated