@samatawy/rules
    Preparing search index...

    Class ConsoleLogger

    Logger implementation that outputs to the console. Write a class similar to this one to connect your preferred logging library, Pino, Winston, Sentry, etc.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • In case your logger buffers logs, flush should be called at the end of execution to ensure all logs are written out. If your logger does not buffer logs, you can leave this method empty.

      Returns void