- std::map<LogStream *, int> AllLogStreams; // holds all logstreams
- std::vector<LogStream *> GlobalLogStreams; //holds all logstreams with a type of *
- FileLogMap FileLogs; // Holds all file logs, refcounted
+
+ /** Refcount map of all LogStreams managed by LogManager.
+ * If a logstream is not listed here, it won't be automatically closed by LogManager, even if it's loaded in one of the other lists.
+ */
+ std::map<LogStream *, int> AllLogStreams;
+
+ /** LogStreams with type * (which means everything), and a list a logtypes they are excluded from (eg for "* -USERINPUT -USEROUTPUT").
+ */
+ std::map<LogStream *, std::vector<std::string> > GlobalLogStreams;
+
+ /** Refcounted map of all FileWriters in use by FileLogStreams, for file stream sharing.
+ */
+ FileLogMap FileLogs;
+