Changeset 81c6e32180ba6f1018c28ae75b7281fd38121812 for logger
- Timestamp:
- 09/10/10 22:34:43 (21 months ago)
- Children:
- 99057e4d73dbb905f06f5ccc4ea49708b8aaa0a8
- Parents:
- c53e53f1cb0d542e5c931555a591d2589c033006
- git-committer:
- Antti-Juhani Kaijanaho <antti-juhani@…> (09/10/10 22:34:43)
- Files:
-
- 1 modified
-
logger/logline.hh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
logger/logline.hh
r868b365 r81c6e32 1 1 /* This file is part of Alue, the multiprotocol Internet discussion daemon 2 2 3 Copyright © 2009 Antti-Juhani Kaijanaho3 Copyright © 2009, 2010 Antti-Juhani Kaijanaho 4 4 5 5 Alue is free software: you can redistribute it and/or modify it … … 39 39 : valid(false) 40 40 { if (doOpen) open(); } 41 ~logline() { if (valid) close(); } 41 ~logline() { 42 try 43 { 44 if (valid) close(); 45 } 46 catch (std::exception) 47 {} 48 } 42 49 43 50 void open();
