Replaced Logger usage with LOG_x (#548)
This commit is contained in:
committed by
GitHub
parent
ecad2248d9
commit
9d5993930d
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Contains common log messages.
|
||||
* This helps to keep the binary smaller.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
// Crashes
|
||||
#define LOG_MESSAGE_ILLEGAL_STATE "Illegal state"
|
||||
|
||||
// Alloc
|
||||
#define LOG_MESSAGE_ALLOC_FAILED "Out of memory"
|
||||
#define LOG_MESSAGE_ALLOC_FAILED_FMT "Out of memory (failed to allocated %d bytes)"
|
||||
|
||||
// Mutex
|
||||
#define LOG_MESSAGE_MUTEX_LOCK_FAILED "Mutex acquisition timeout"
|
||||
#define LOG_MESSAGE_MUTEX_LOCK_FAILED_FMT "Mutex acquisition timeout (%s)"
|
||||
|
||||
// Power on
|
||||
#define LOG_MESSAGE_POWER_ON_START "Power on"
|
||||
#define LOG_MESSAGE_POWER_ON_FAILED "Power on failed"
|
||||
Reference in New Issue
Block a user