16 lines
274 B
Go
16 lines
274 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)
|
||
|
}
|