name: Console

synopsis:

g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_system.a

#include <Console.h>

static boolean open(const SysString& filename, MODE mode = File::APPEND_ONLY);
static boolean broadcast(const unichar* str);
static boolean close();
quick start:

Console::put(L"this is output to stdout");
Console::open(L"out.txt");
Console::put(L"this is appended to the file out.txt");
Console::broadcast(L"this is output to both stdout and the out.txt");
Console::close();
description:

The Console class controls messages (errors and debugging information) which programmers might want to send to stdout. Everything in this class is static, so there is only one way to handle screen output per program. Modularity of this class allows the user to control debugging of higher and lower level class with separate consoles. The user can send the error and debugging messages of different program components to separate log files for extensive debugging.

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods

private methods:

examples:

notes: