Closed ExtSolTech closed 2 years ago
Hi there,
I got a following error: use of undeclared crate or module log
log
here is my toml file:
here is my test code:
an here is the error message:
Can you give any idea to me what i missed?
You also need to depend on the log crate, which provides the log::warn! macro and others.
log::warn!
[dependencies] log = { version = "^0.4.14", features = ["std"] } simple_logger = "2.1.0"
Hi there,
I got a following error: use of undeclared crate or module
log
here is my toml file:![image](https://user-images.githubusercontent.com/44647576/150585272-dfaed2e4-5a1b-4b63-9f1f-c9ffec72db78.png)
here is my test code:![image](https://user-images.githubusercontent.com/44647576/150585322-da1382c1-6834-42ac-8194-8714d3a46d84.png)
an here is the error message:![image](https://user-images.githubusercontent.com/44647576/150585382-0f3acd57-bc37-44db-894f-c2b2980d5e40.png)
Can you give any idea to me what i missed?