add startup and shutdown log message
This commit is contained in:
parent
e2d30e1d65
commit
1dd43417c7
2
main.go
2
main.go
@ -28,6 +28,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
log.Print("storage-security starting")
|
||||||
|
|
||||||
img = gocv.NewMat()
|
img = gocv.NewMat()
|
||||||
imgDelta = gocv.NewMat()
|
imgDelta = gocv.NewMat()
|
||||||
@ -116,6 +117,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.Printf("shutting down")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns true if motion detected in current frame
|
// Returns true if motion detected in current frame
|
||||||
|
Loading…
Reference in New Issue
Block a user