UserLoggerTypeInterface Class Reference

#include <logger.h>

Inheritance diagram for UserLoggerTypeInterface:

Detailed Description

Interface of a logger type which prints to the application console. Caches all strings until it gets resetted.

Public Member Functions

MAXON_METHOD Result< void > Iterate (const Delegate< Result< void >(LoggerLine &)> &callback)
MAXON_METHOD Int GetCount ()
MAXON_METHOD void Reset ()

Private Member Functions

 MAXON_INTERFACE (UserLoggerTypeInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.userloggertype")

Member Function Documentation


MAXON_INTERFACE ( UserLoggerTypeInterface  ,

◆ Iterate()

MAXON_METHOD Result<void> Iterate ( const Delegate< Result< void >(LoggerLine &)> &  callback)

Iterates over all caches lines since it got initialized or resetted.

[in]callbackDelegate which is called for each line.

◆ GetCount()

MAXON_METHOD Int GetCount ( )

Gets the count of entries.

Line count.

◆ Reset()

MAXON_METHOD void Reset ( )

Clears the cache of this logger type.