metaregistrar / php-epp-client

Object-oriented PHP EPP Client
https://www.metaregistrar.com/docs/
MIT License
214 stars 159 forks source link

Optionaly write request/response logs to file (on the fly). #112

Closed evidmar closed 6 years ago

evidmar commented 6 years ago

If you want logs of EPP requests and responses written to file instead echo-ed, use this:

 $connection = new MEPP\xxxEppConnection();
 $connection->setLogFile('path/to/logfile.txt');
 $connection->setHostname('epp.hostname.com');
...