Stellarium 0.14.3
|
Class with only static members used to manage output for Stellarium scripts. More...
#include <StelScriptOutput.hpp>
Static Public Member Functions | |
static void | init (const QString &outputFilePath) |
Create and initialize the log file. More... | |
static void | deinit () |
Deinitialize the output file. More... | |
static void | writeLog (QString msg) |
Write the message plus a newline to the output file at $USERDIR/output.txt. More... | |
static void | reset (void) |
Reset file, i.e., empty it. This may be useful to have repetitive output which may be read by other programs. More... | |
Class with only static members used to manage output for Stellarium scripts.
Definition at line 28 of file StelScriptOutput.hpp.
|
static |
Deinitialize the output file.
Must be called after init() was called.
|
static |
Create and initialize the log file.
Prepend system information before any output.
|
static |
Reset file, i.e., empty it. This may be useful to have repetitive output which may be read by other programs.
|
static |
Write the message plus a newline to the output file at $USERDIR/output.txt.
msg | message to write. |