libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
logger.h File Reference
#include <cmath>
#include <cstdarg>
#include <cstdio>
#include "logger_impl.h"

Go to the source code of this file.

Classes

class  daisy::Logger< dest >
 Interface for simple USB logging. More...
 
class  daisy::Logger< LOGGER_NONE >
 

Namespaces

namespace  daisy
 Hardware defines and helpers for daisy field platform.
 

Macros

#define __DSY_LOGGER_H__
 
#define LOGGER_NEWLINE   "\r\n"
 
#define LOGGER_BUFFER   128
 
#define PPCAT_NX(A, B)   A##B
 
#define PPCAT(A, B)   PPCAT_NX(A, B)
 
#define STRINGIZE_NX(A)   #A
 
#define STRINGIZE(A)   STRINGIZE_NX(A)
 
#define FLT_FMT(_n)   STRINGIZE(PPCAT(PPCAT(%c%d.%0, _n), d))
 
#define FLT_VAR(_n, _x)
 
#define FLT_FMT3   FLT_FMT(3)
 
#define FLT_VAR3(_x)   FLT_VAR(3, _x)
 

Macro Definition Documentation

◆ __DSY_LOGGER_H__

#define __DSY_LOGGER_H__