+ Refactored all imports + Fixed a bug for the logging regarding removing \n \t \r + Updated to current MGO release + Changed the name of ICCC
18 lines
281 B
Go
18 lines
281 B
Go
package DeviceDatabase
|
|
|
|
import (
|
|
"github.com/SommerEngineering/Ocean/Log/Meta"
|
|
)
|
|
|
|
type Database struct {
|
|
}
|
|
|
|
func (dev Database) Log(entries []Meta.Entry) {
|
|
|
|
//
|
|
// Can not log here to prevent endless loop (consumer is also producer)
|
|
//
|
|
|
|
write2Cache(entries)
|
|
}
|