Example of Custom Sink for Logger?

Greetings,

The docs say To enable logs output to custom sink with debug logging level:

NLogger::init(sink, NLogLevel::Debug);

It’s almost definitely a newb question, but I’m not sure I understand how to implement this. Does anyone know of any examples I could refer for implementing a custom sink? What does the “sink” value represent in the line above.

I would like to log output to to an in-app console I am working with rather than the command window. Thanks!