1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Enable in-app backup/restore for global/tenants

Re-mapping of ORG and USER ID values ensures conflict-free merging.

Version numbers bumped.

Co-Authored-By: Harvey Kandola <harvey@documize.com>
This commit is contained in:
sauls8t 2018-10-19 12:40:45 +01:00
parent ec1939c01d
commit db04057d9e
10 changed files with 913 additions and 788 deletions

View file

@ -35,6 +35,11 @@ func (l Logger) Info(message string) {
l.log.Println(message)
}
// Infof logs message via Sprintf.
func (l Logger) Infof(message string, a ...interface{}) {
l.log.Println(fmt.Sprintf(message, a))
}
// Trace logs message if tracing enabled.
func (l Logger) Trace(message string) {
if l.trace {