Permalink
Browse files

add integer for json logging

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
  • Loading branch information...
konstruktoid committed Oct 23, 2017
1 parent 8424b0a commit a7600dd539d2af4af39057018ecf39940f2a0a4f
Showing with 4 additions and 0 deletions.
  1. +4 −0 output_lib.sh
View
@@ -40,3 +40,7 @@ endjson (){
logjson (){
printf "\n \"%s\": \"%s\"," "$1" "$2" | tee -a "$logger.json" 2>/dev/null 1>&2
}
integerjson (){
printf "\n \"%s\": %s," "$1" "$2" | tee -a "$logger.json" 2>/dev/null 1>&2
}

0 comments on commit a7600dd

Please sign in to comment.