Skip to content

Commit

Permalink
add log message
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Jul 3, 2017
1 parent c37c6fa commit 74e1eb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/share/frontmost_application_observer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ class frontmost_application_observer final {

frontmost_application_observer(const callback& callback) : callback_(callback),
observer_(nullptr) {
logger::get_logger().info("frontmost_application_observer initialize");
krbn_frontmost_application_observer_initialize(&observer_,
static_cpp_callback,
this);
}

~frontmost_application_observer(void) {
logger::get_logger().info("frontmost_application_observer terminate");
krbn_frontmost_application_observer_terminate(&observer_);
}

Expand Down

0 comments on commit 74e1eb7

Please sign in to comment.