Unity Logging is a completely new logging system that provides a framework for creating and processing runtime events and logging output.
The manual can be found here.
An example project script can be found here. You can also import the sample project via the Package Manager.
Available Sinks can be found in the manual under the section Examples.