Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
419d6bf7
Commit
419d6bf7
authored
Jan 30, 2018
by
Mccaskey, Alex
Browse files
adding a few more print statements
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
19d8426a
Changes
2
Hide whitespace changes
Inline
Side-by-side
xacc/XACC.cpp
View file @
419d6bf7
...
...
@@ -51,9 +51,11 @@ void Initialize(int arc, char** arv) {
argc
=
arc
;
argv
=
arv
;
XACCLogger
::
instance
()
->
info
(
"Creating XACC ServiceRegistry"
);
// Get reference to the service registry
auto
serviceRegistry
=
xacc
::
ServiceRegistry
::
instance
();
try
{
XACCLogger
::
instance
()
->
info
(
"Initializing the ServiceRegistry"
);
serviceRegistry
->
initialize
();
}
catch
(
std
::
exception
&
e
)
{
XACCLogger
::
instance
()
->
error
(
...
...
xacc/utils/ServiceRegistry.cpp
View file @
419d6bf7
...
...
@@ -4,12 +4,15 @@ namespace xacc {
void
ServiceRegistry
::
initialize
()
{
if
(
!
initialized
)
{
XACCLogger
::
instance
()
->
info
(
"Creating CppUs Framework."
);
framework
=
FrameworkFactory
().
NewFramework
();
// Initialize the framework, such that we can call
// GetBundleContext() later.
XACCLogger
::
instance
()
->
info
(
"Running Framework.Init."
);
framework
.
Init
();
XACCLogger
::
instance
()
->
info
(
" Getting the Framework Bundle Context."
);
context
=
framework
.
GetBundleContext
();
if
(
!
context
)
{
XACCLogger
::
instance
()
->
error
(
...
...
@@ -53,6 +56,7 @@ void ServiceRegistry::initialize() {
"There are no plugins. Install plugins to begin working with XACC."
);
}
XACCLogger
::
instance
()
->
info
(
"Starting the CppUs Framework."
);
// Start the framework itself.
framework
.
Start
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment