FastLED 3.9.15
Loading...
Searching...
No Matches
cstdio.h File Reference
#include "fl/stl/int.h"
#include "fl/stl/cstddef.h"
#include "fl/stl/optional.h"
#include "fl/stl/noexcept.h"
+ Include dependency graph for cstdio.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fl::ScopedLogDisable
 RAII class to temporarily disable all logging output. More...
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Enumerations

enum class  fl::LogLevel : u8 {
  fl::FL_LOG_LEVEL_NONE = 0 , fl::FL_LOG_LEVEL_ERROR = 1 , fl::FL_LOG_LEVEL_WARN = 2 , fl::FL_LOG_LEVEL_INFO = 3 ,
  fl::FL_LOG_LEVEL_DEBUG = 4
}
 Log level constants - higher values include more output Prefixed with FL_ to avoid macro collisions (e.g. More...
 

Functions

int fl::available ()
 
bool fl::flush (u32 timeoutMs)
 
u8 fl::getLogLevel () FL_NOEXCEPT
 Get the current global log level.
 
int fl::peek ()
 
void fl::print (const char *str)
 
void fl::println (const char *str) FL_NOEXCEPT
 
int fl::read ()
 
fl::optional< fl::stringfl::readLine (char delimiter, char skipChar, fl::optional< u32 > timeoutMs)
 
bool fl::readStringUntil (sstream &out, char delimiter, char skipChar, fl::optional< u32 > timeoutMs)
 
void fl::serial_begin (u32 baudRate)
 
bool fl::serial_ready ()
 
void fl::setLogLevel (u8 level) FL_NOEXCEPT
 Set the global log level.
 
size_t fl::write_bytes (const u8 *buffer, size_t size)