c++ - How flush property works in SimpleFileChannel -



c++ - How flush property works in SimpleFileChannel -

as per documentation:

the flush property specifies whether each log message flushed log file (which may wound application performance, ensures in log in case of scheme crash), valid values are:

true: every essages flushed log file (default).

false: messages not flushed log file.

i confused false value not immediately confusing, because not immediately mean never sometime.

can please confirm if meant never or sometime (if latter, can please clarify when?)

when flush property false, flushing left default underlying platform behavior.

for details on exact behavior os when flush false, refer documentation createfile , flushfilebuffers (never called explicitly poco when flush property false) on windows , std::ostream (never flushed explicitly poco when flush property false) on other operating systems.

c++ poco poco-libraries

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -