0

I'm using Syslog for the first time to log my C/C++ application.

I want to know what is the berst practice, alwase open/close (with openlog and closelog) for each logging message, or open on the launch of the application and close at the end?

Thanks

Dazul
  • 157
  • 9

1 Answers1

1

open on the launch of the application and close at the end

Dr. Debasish Jana
  • 6,980
  • 4
  • 30
  • 69