tact-lang / tact

Tact compiler main repository
https://tact-lang.org
MIT License
394 stars 110 forks source link

`ILogger` interface #648

Closed byakuren-hijiri closed 3 months ago

byakuren-hijiri commented 3 months ago

Currently, we use the Logger class within the compiler internals and API functions.

We should define the ILogger interface containing declarations of the logging functions and change all the compiler functions to accept that interface as a parameter. This will enable third-party tools to implement their own loggers with their own definitions of the error/debug/warn/info methods.