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

Go to the source code of this file.

Data Structures

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

Namespaces

namespace  tflchef
 

Macros

#define LOGGER(name)   ::tflchef::Logger name{::tflchef::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)    ::tflchef::Logger name{::tflchef::LoggingContext::get()};

HOW TO USE:

LOGGER(l);

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

Definition at line 65 of file Log.h.