Skip to content

Commit

Permalink
replace 'func' with 'routine'.
Browse files Browse the repository at this point in the history
  • Loading branch information
msupernaw committed May 3, 2024
1 parent eb3f552 commit 652c1d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inst/include/common/fims_log.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ struct LogEntry {
ss << "\"user\" : " << "\"" << this->user << "\",\n";
ss << "\"wd\" : " << "\"" << this->wd << "\",\n";
ss << "\"file\" : " << "\"" << this->file << "\",\n";
ss << "\"func\" : " << "\"" << this->func << "\",\n";
ss << "\"routine\" : " << "\"" << this->func << "\",\n";
ss << "\"line\" : " << "\"" << this->line << "\"\n";
return ss.str();
}
Expand Down
4 changes: 2 additions & 2 deletions test/test.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ for(i in 1:length(fims_log)){
print(fims_log[[i]]$id)
print(fims_log[[i]]$level)
print(fims_log[[i]]$message)
print(fims_log[[i]]$line)
print(fims_log[[i]]$file)
print(fims_log[[i]]$func)
print(fims_log[[i]]$line)
print(fims_log[[i]]$routine)
cat("\n\n")
}

0 comments on commit 652c1d6

Please sign in to comment.