Skip to content

Commit

Permalink
Add timestamp to session log header
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed Jun 3, 2023
1 parent 621b9e7 commit a483abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/gitgutter/debug.vim
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function! gitgutter#debug#log(message, ...) abort

if s:new_log_session
let s:start = reltime()
call writefile(['==== start log session ===='], s:log_file, 'a')
call writefile(['', '========== start log session '.strftime('%d.%m.%Y %H:%M:%S').' =========='], s:log_file, 'a')
endif

let elapsed = reltimestr(reltime(s:start)).' '
Expand Down

0 comments on commit a483abb

Please sign in to comment.