this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add get_log_size/0

garrison 849d4528 4600eb13

+6
+6
lib/trinity/sim_logger.ex
··· 10 10 :atomics.get(log_atomic, 1) 11 11 end 12 12 13 + @spec get_log_size :: non_neg_integer 14 + def get_log_size do 15 + %{log_atomic: log_atomic} = get_sim() 16 + :atomics.get(log_atomic, 2) 17 + end 18 + 13 19 @spec log_head(non_neg_integer) :: [String.t] 14 20 def log_head(count) do 15 21 %{log_atomic: log_atomic} = get_sim()