boost::serialization for logging?
I'd like to know what pitfalls there might be if one attempts to use boost::serialization for logging the internal state of certain objects to disk at various times during a program run. Thanks, Dave
On Monday, February 14, 2005 at 17:41:36 (-0700) Dave Gomboc writes:
I'd like to know what pitfalls there might be if one attempts to use boost::serialization for logging the internal state of certain objects to disk at various times during a program run.
Serialization is straightforward. There are costs of time and effort involved, but no pitfalls beyond the obvious. Bill
Dave Gomboc wrote:
I'd like to know what pitfalls there might be if one attempts to use boost::serialization for logging the internal state of certain objects to disk at various times during a program run.
Depends what you mean by 'logging' and how you plan to use the logs. If you want to look at logs with our eyes, beware that text archives are not very readable and even XML archives might be not readable enough for you. - Volodya
participants (3)
-
Bill Lear
-
Dave Gomboc
-
Vladimir Prus