---------------------------------------------------------------------------
| 677 | } |
| 678 | //--------------------------------------------------------------------------- |
| 679 | bool WriteToLogRawMessage(char * p) |
| 680 | { |
| 681 | if( ! MainCfg.bWriteRaw ) |
| 682 | return true; |
| 683 | |
| 684 | if( ! rawout.IsOpen() ) |
| 685 | { |
| 686 | rawout.Open(RawFile, GENERIC_WRITE, |
| 687 | FILE_SHARE_READ | FILE_SHARE_WRITE, |
| 688 | OPEN_ALWAYS, |
| 689 | FILE_ATTRIBUTE_NORMAL); |
| 690 | if( ! rawout ) |
| 691 | return false; |
| 692 | rawout.ToEnd(); |
| 693 | } |
| 694 | |
| 695 | String s(p); |
| 696 | s += ::CR; |
| 697 | rawout << s; |
| 698 | return true; |
| 699 | } |
| 700 | //--------------------------------------------------------------------------- |
| 701 | bool WriteToLogError(String fmt, ...) |
| 702 | { |
no test coverage detected