interface IARLogHandler (Niantic.ARDK.Utilities.Logging.IARLogHandler)

Overview

Interface for a log handler used by the ARLog. Implement this class to provide alternative logging behaviour. More...

interface IARLogHandler {
    // methods

    void Debug(string log);
    void Error(string error);
    void Release(string log);
    void Warn(string warning);
};

// direct descendants

class UnityARLogHandler;

Detailed Documentation

Interface for a log handler used by the ARLog. Implement this class to provide alternative logging behaviour.

Methods

void Debug(string log)

Debug level log, only enabled if ARDK_DEBUG is defined

Parameters:

log

Log to print

void Error(string error)

Error level log, will always print

Parameters:

error

Error to print

void Release(string log)

Release level log, will still check against enabled features

Parameters:

log

Log to print

void Warn(string warning)

Warning level log, only enabled if ARDK_DEBUG is defined

Parameters:

warning

Warning to print