foolang icon indicating copy to clipboard operation
foolang copied to clipboard

Log class

Open nikodemus opened this issue 4 years ago • 0 comments

Effectively:

class Log {}
    direct method print: message
        $Log print: message

where $Log defaults to either stdout or stderr, but user can control at the command-line, or Main can override the target.

foo --log=test.log ...
foo --no-log ...

Allows removal of the Debug class from CTranspiler, and Output#debug

nikodemus avatar Feb 19 '20 10:02 nikodemus