+
+ /** Adds a single LogStream to multiple logtypes.
+ * This automatically handles things like "* -USERINPUT -USEROUTPUT" to mean all but USERINPUT and USEROUTPUT types.
+ * It is not a good idea to mix values of autoclose for the same LogStream.
+ * @param type The type string (from configuration, or whatever) to parse.
+ * @param l The LogStream to add.
+ * @param autoclose True to have the LogStream automatically closed when all references to it are removed from LogManager. False to leave it open.
+ */
+ void AddLogTypes(const std::string &type, LogStream *l, bool autoclose);
+
+ /** Registers a new logstream into the logging core, so it can be called for future events
+ * It is not a good idea to mix values of autoclose for the same LogStream.
+ * @param type The type to add this LogStream to.
+ * @param l The LogStream to add.
+ * @param autoclose True to have the LogStream automatically closed when all references to it are removed from LogManager. False to leave it open.
+ * @return True if the LogStream was added successfully, False otherwise.
+ */
+ bool AddLogType(const std::string &type, LogStream *l, bool autoclose);
+
+ /** Removes a logstream from the core. After removal, it will not recieve further events.
+ * If the LogStream was ever added with autoclose, it will be closed after this call (this means the pointer won't be valid anymore).
+ */
+ void DelLogStream(LogStream* l);
+
+ /** Removes a LogStream from a single type. If the LogStream has been registered for "*" it will still receive the type unless you remove it from "*" specifically.
+ * If the LogStream was added with autoclose set to true, then when the last occurrence of the stream is removed it will automatically be closed (freed).
+ */