Logging with NLog This sample shows how to receive log messages from Docotic.Pdf library into a NLog logger. After NLog is configured in your app, the library will automatically put its log messages into the configured loggers.