-
Notifications
You must be signed in to change notification settings - Fork 23
RSDK-5986: Resource-level logging for the C++ SDK #383
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
Merged
+1,057
−355
Merged
Changes from all commits
Commits
Show all changes
103 commits
Select commit
Hold shift + click to select a range
31437c3
initial commit of instance object
lia-viam 932ebaa
wip: initial commit to get sdk building with instance
lia-viam 04d0158
add missing implementation
lia-viam a105cef
update examples to use instance
lia-viam 403f316
only instance can construct registry
lia-viam 27eeb13
make tests work with registry member approach
lia-viam ce2aa8c
pimpl registry and update examples
lia-viam e5cf6d0
add instance management infra
lia-viam 85194da
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into regi…
lia-viam 5024d3a
update tflite module
lia-viam ef8ec8e
silence spurious const warning
lia-viam 16113fd
make method static
lia-viam 216e5e2
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into regi…
lia-viam dbf1647
update cml boost links
lia-viam d1dffb8
add logger to resource
lia-viam 4771390
use static current to populate registry member
lia-viam 18d26c9
revert and adapt examples
lia-viam 6018323
make instance more of a black box
lia-viam d4aeb86
Merge branch 'registry-member' into logger
lia-viam 5535616
add impl instance to git
lia-viam 4d2582c
Merge branch 'registry-member' into logger
lia-viam eeac195
Add instance comment boilerplate
lia-viam 7560f6d
Add instance comment boilerplate
lia-viam af08403
connect robot client logging when parent of module service
lia-viam 4e25d35
remove old ctor arg
lia-viam 55baa6c
prohibit multi instance
lia-viam 10cd711
remove initialized flag
lia-viam c745422
meyers singleton registry
lia-viam 75ab450
remove registry member and fix member spacing/ordering
lia-viam fc21c35
remove unused include
lia-viam 1758ee9
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into regi…
lia-viam cd1d8c5
Merge branch 'registry-member' of github.com:lia-viam/viam-cpp-sdk in…
lia-viam 679f1b6
conditionally connect robot logging to backend
lia-viam 795578c
first attempt full logger machinery
lia-viam 1b88d1c
update log to have keywords in header
lia-viam 5eb243b
init grpc logging in module service impl ready, and disable console l…
lia-viam 6e311bc
remove set severity from args
lia-viam f84fe6e
update boost_log_trivial invocations
lia-viam 9311990
remove now-unused boost includes and uses of boost log trivial
lia-viam a09901f
remove unused log trivial include
lia-viam f9b1cb3
readability member arrangement/spacing
lia-viam 68add9d
readability spacing
lia-viam 05eddd0
add from string
lia-viam 5debae1
add log level
lia-viam 6866567
add basic logging tests
lia-viam 6e154ce
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into regi…
lia-viam f02ce0f
reorder includes
lia-viam e80bf80
conditionally find unit test framework and link it to tests
lia-viam 185121a
registry get cannot create instance by default
lia-viam 7a747ec
instance models fixture
lia-viam 9c4dc97
create if needed instance in fixture
lia-viam 30fe47e
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into regi…
lia-viam 7409dc7
revert namespace ws
lia-viam 7fafee8
Merge branch 'registry-member' into logger
lia-viam 0dbd491
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into logger
lia-viam c67166b
move cout redirect to test_utils
lia-viam 0745e16
implement set resource log level
lia-viam 04edd0d
implement set resource log level for resource itself
lia-viam 537ea67
test resource level logging in unit tests
lia-viam 56e706c
set resource log level from config in start/reconfigure
lia-viam 818825a
conditionally find program options as well
lia-viam 6d43bbd
remove trailing semicolon
lia-viam de5e33a
private/friend decls
lia-viam a286508
docs
lia-viam 587d1f6
Merge branch 'main' into logger
lia-viam e45bafc
update method name to avoid conflict
lia-viam 14a6049
const qualify method and member ptr
lia-viam 216df1d
silence tidy error
lia-viam f4b0f11
fix file logging
lia-viam e3e2697
handle empty string and clarify level formatting
lia-viam bdebbab
log the logging
lia-viam 6755cd6
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into logger
lia-viam 8c372cc
linter warnings...........
lia-viam 1744939
linter.....
lia-viam d7842c1
add log_setup
lia-viam 9829e44
remove sdk::
lia-viam e10df01
global resource is const char*
lia-viam 192b29f
log log as debug
lia-viam 2de9f40
fix out of date comment
lia-viam d681f6f
rename to log manager and global logger
lia-viam 3b8d7dc
rename files to logging
lia-viam 82eb403
use has_log_configuration
lia-viam ad079c8
unit test trim filename
lia-viam 6b83aed
handle fallback console logging for grpc log failures
lia-viam f9f39a1
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into logger
lia-viam 4eb8643
add logging to simple module example
lia-viam 418f882
add logging to complex module example
lia-viam ee85b28
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into logger
lia-viam 40b5400
use VIAM_SDK macro prefix
lia-viam 22d29e3
disable fail-fast
lia-viam ba154d1
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into logger
lia-viam 2e9d015
link boost log and log_setup in public libs
lia-viam b8dcf7c
set boost log dyn link in test script
lia-viam f6c21ff
clean up example camera and use logging instead of cout
lia-viam ac25b4e
update example code to use logging
lia-viam 04c92ce
add test and use set_global_resource_name
lia-viam 9297062
silence const warnings
lia-viam b1aa44b
add remark on logging enums
lia-viam 6018b94
add explanatory comment
lia-viam 743699d
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into logger
lia-viam bc5f165
format file/line into rdk log message
lia-viam 82f7104
document use of boost log
lia-viam 2fa0860
remove period
lia-viam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was a drive-by