equal
deleted
inserted
replaced
41 static LogOutput** _outputs; |
41 static LogOutput** _outputs; |
42 static size_t _n_outputs; |
42 static size_t _n_outputs; |
43 static bool _post_initialized; |
43 static bool _post_initialized; |
44 |
44 |
45 // Create a new output. Returns NULL if failed. |
45 // Create a new output. Returns NULL if failed. |
46 static LogOutput* new_output(char* name, const char* options = NULL); |
46 static LogOutput* new_output(char* name, const char* options, outputStream* errstream); |
47 |
47 |
48 // Add an output to the list of configured outputs. Returns the assigned index. |
48 // Add an output to the list of configured outputs. Returns the assigned index. |
49 static size_t add_output(LogOutput* out); |
49 static size_t add_output(LogOutput* out); |
50 |
50 |
51 // Delete a configured output. The stderr/stdout outputs can not be removed. |
51 // Delete a configured output. The stderr/stdout outputs can not be removed. |