anchor.diff:  	end.
   
   %% @doc Open a log class.
  --spec open(atom()) -> ok | {error, reason()}.
  +-spec open(atom() | [atom()]) -> ok | {error, reason()}.
  +open(Classes) when is_list(Classes) ->
  +	lists:foreach(open, Classes);
   open(Class) ->
   	gen_server:call(?MODULE, {open, Class}).
   
   %% @doc Close a log class.
  --spec close(atom()) -> ok.
  +-spec close(atom()| [atom()]) -> ok.
  +close(Classes) when is_list(Classes) ->
  +	lists:foreach(open, Classes);
   close(Class) ->
   	gen_server:call(?MODULE, {close, Class}).
   
  
positive.code: handle_call({out, Io}, _, State=#?MODULE{dir=Dir, max_bytes=L, classes=OldClasses, interval=T}) ->
  	Classes = case Io of
  				  String when is_list(String) ->
  					  [{Class, Current, {Dir, String, undefined, 0, 0, L, undefined}} || {Class, Current, _} <- OldClasses];
  				  _ ->
  					  [{Class, Current, Io} || {Class, Current, _} <- OldClasses]
  			  end,
  
negative.code: 				  max_files = 10 :: integer(),
  				  classes = [] :: [{atom(), term(),
  									none | standard_io | pid() |
  										{string(), string(), string(), integer(), integer(), pid()}}],
  				  interval = 100 :: timeout()}).
  
  -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).
  