Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOG_ERROR' was not declared in this scope #1

Closed
Jahislove opened this issue Feb 12, 2019 · 1 comment
Closed

LOG_ERROR' was not declared in this scope #1

Jahislove opened this issue Feb 12, 2019 · 1 comment

Comments

@Jahislove
Copy link

Jahislove commented Feb 12, 2019

hello ,i just tried your librarie but there is an error in your example
tested with ESP8266 wemos D1 mini

G:\Documents\Arduino\libraries\Debug\example\example.ino: In function 'void setup()':
example:11:32: error: 'LOG_ERROR' was not declared in this scope
   LOG_ERROR("this is error log");
                                ^
example:12:36: error: 'LOG_WARNING' was not declared in this scope
   LOG_WARNING("this is warning log");
                                    ^
example:13:36: error: 'LOG_VERBOSE' was not declared in this scope
   LOG_VERBOSE("this is verbose log");
                                    ^
example:15:17: error: 'Debug' has not been declared
   LOG_SET_LEVEL(Debug::LogLevel::WARNING);
                 ^
example:15:41: error: 'LOG_SET_LEVEL' was not declared in this scope
   LOG_SET_LEVEL(Debug::LogLevel::WARNING);
                                         ^
example:22:17: error: 'Debug' has not been declared
   LOG_SET_LEVEL(Debug::LogLevel::ERROR);
                 ^
example:29:17: error: 'Debug' has not been declared
   LOG_SET_LEVEL(Debug::LogLevel::NONE);
                 ^
example:39:16: error: 'ASSERT' was not declared in this scope
   ASSERT(x != 1); // if assertion failed, Serial endlessly prints message
                ^
exit status 1
'LOG_ERROR' was not declared in this scope

@hideakitai
Copy link
Owner

I'm sorry for late reply.
I fixed issue for ESP8266 in latest commit.
Please check the example_esp8266.
Thank you for your information!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants