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

updates and logging items added #85

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions source/Logging_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ void samplefunction() {


int main() {

Logger::Log() << Team::TEAM_1 << LogLevel::DEBUG << Color::BLUE << "This is a debug message from Team A." << "aye 2" << std::endl;
Logger::Log() << Team::TEAM_2 << LogLevel::INFO << Color::GREEN << "This is an info message from Team B." << std::endl;
Logger::Log() << Team::TEAM_3 << LogLevel::ERR << Color::RED << " RED Error message from Team C." << std::endl;
Logger::Log() << Team::TEAM_4 << LogLevel::ERR << Color::BLUE << "Error message from Team C. no endl";
Logger::Log() << "cont no endl Error message from Team";


Logger::Log() << std::endl << "Warning message standard overload" << std::endl;

samplefunction();
Expand Down
1 change: 1 addition & 0 deletions source/core/DEVELOPER_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Logger::Log() << Team::TEAM_5 << LogLevel::DEBUG << "The value of variable is: "

### 4. Logging File and Line Information:
```cpp

Logger::Log() << Team::TEAM_6 << LogLevel::INFO << LOG_RELLINE << "This log is from " << __FILE__ << " line " << __LINE__ << Logger::endl;
```

Expand Down
Loading