Difference between revisions of "Category:ConScribe"
Jump to navigation
Jump to search
m
→Logging Functions
imported>Shademe |
imported>Shademe |
||
Line 21: | Line 21: | ||
ConScribe adds independent logging functions that allow mods to log textual output to text files. Output is primarily segregated into 2 types: Logs made per script and logs made per mod. The primary output function [[Scribe]] is used to log all output. | ConScribe adds independent logging functions that allow mods to log textual output to text files. Output is primarily segregated into 2 types: Logs made per script and logs made per mod. The primary output function [[Scribe]] is used to log all output. | ||
Mods may register a log using the [[RegisterLog]] function and then use '''Scribe''' to write to it. Registered logs can be unregistered using [[UnregisterLog]]. [[GetRegisteredLogNames]] returns the names of the calling mod's registered logs. You may read from a registered log using the [[ | Mods may register a log using the [[RegisterLog]] function and then use '''Scribe''' to write to it. Registered logs can be unregistered using [[UnregisterLog]]. [[GetRegisteredLogNames]] returns the names of the calling mod's registered logs. You may read from a registered log using the [[ReadFromLog]] command | ||
As of version 7.0, mods are allowed to register and use multiple log files. | As of version 7.0, mods are allowed to register and use multiple log files. |