39 static FILE* _output_stream; |
39 static FILE* _output_stream; |
40 static FILE* _error_stream; |
40 static FILE* _error_stream; |
41 |
41 |
42 void init(); |
42 void init(); |
43 void init_log(); |
43 void init_log(); |
|
44 fileStream* open_file(const char* log_name); |
|
45 void start_log(); |
44 void finish_log(); |
46 void finish_log(); |
45 void finish_log_on_error(char *buf, int buflen); |
47 void finish_log_on_error(char *buf, int buflen); |
46 public: |
48 public: |
47 // must defer time stamp due to the fact that os::init() hasn't |
49 // must defer time stamp due to the fact that os::init() hasn't |
48 // yet been called and os::elapsed_counter() may not be valid |
50 // yet been called and os::elapsed_counter() may not be valid |