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

Go to the source code of this file.

Data Structures

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

Namespaces

namespace  moco
 

Macros

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

HOW TO USE:

LOGGER(l);

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

Definition at line 65 of file Log.h.