ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Log.h File Reference
#include "exo/LoggingContext.h"
#include <hermes.h>

Go to the source code of this file.

Data Structures

class  exo::Logger
 Logger Implementation. More...
 
class  exo::LoggerConfig
 Logger Configuration. More...
 

Namespaces

namespace  exo
 

Macros

#define LOGGER(name)   ::exo::Logger name{::exo::LoggingContext::get()};
 
#define INFO(name)   HERMES_INFO(name)
 

Macro Definition Documentation

◆ INFO

#define INFO (   name)    HERMES_INFO(name)

Definition at line 68 of file Log.h.

◆ LOGGER

#define LOGGER (   name)    ::exo::Logger name{::exo::LoggingContext::get()};

HOW TO USE:

LOGGER(l);

INFO(l) << "Hello, World" << std::endl;

Definition at line 65 of file Log.h.