aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-03-07 15:54:52 +0100
committerDan Gudmundsson <[email protected]>2014-03-28 10:11:34 +0100
commita7d0e35b834f9b0d9538c75d06dfe3d698a83ded (patch)
treefa3f0573b970e5b18f9133aa01be5beec8836332 /lib/observer/src/observer.erl
parente2896b5f3922b8397024aee8f541d46ba5cb0f1d (diff)
downloadotp-a7d0e35b834f9b0d9538c75d06dfe3d698a83ded.tar.gz
otp-a7d0e35b834f9b0d9538c75d06dfe3d698a83ded.tar.bz2
otp-a7d0e35b834f9b0d9538c75d06dfe3d698a83ded.zip
observer: Add simple test and add debug hooks in app
Add hooks in observer so that we can do some basic testing on it
Diffstat (limited to 'lib/observer/src/observer.erl')
-rw-r--r--lib/observer/src/observer.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/observer/src/observer.erl b/lib/observer/src/observer.erl
index 098100e8ee..a30ceecc63 100644
--- a/lib/observer/src/observer.erl
+++ b/lib/observer/src/observer.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2011. All Rights Reserved.
+%% Copyright Ericsson AB 2011-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -18,8 +18,11 @@
-module(observer).
--export([start/0]).
+-export([start/0, stop/0]).
start() ->
observer_wx:start().
+
+stop() ->
+ observer_wx:stop().