Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

Commit

Permalink
add datetime mark in logfile, cc #6
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Aug 30, 2015
1 parent 71fb66f commit 616ca40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ rm -f $pth/$logFile

function output()
{
echo "[$1] $2" >> $pth/$logFile
echo "`date` [$1] $2" >> $pth/$logFile
case "$1" in
"Warn" )
echo.Red "$2"
Expand Down

0 comments on commit 616ca40

Please sign in to comment.