All pastes #596439 Raw Edit

Something

public text v1 · immutable
#596439 ·published 2007-06-29 23:14 UTC
rendered paste body
    LogManager::LogManager(const std::string &logFile)
    {
        verbosity = DEBUG;
        logFileStream.open(logFile.c_str());
        if (logFileStream.is_open())
        {
            logFileStream << "=== Unlimited Worlds Server version 0.1 === \n";
        }
        else
        {
            cerr << "Unable to open file: " + logFile + "\n";
        }
    };