types.go 717 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * EliasDB
  3. *
  4. * Copyright 2016 Matthias Ladkau. All rights reserved.
  5. *
  6. * This Source Code Form is subject to the terms of the Mozilla Public
  7. * License, v. 2.0. If a copy of the MPL was not distributed with this
  8. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  9. */
  10. /*
  11. Package interpreter contains the ECAL interpreter.
  12. */
  13. package interpreter
  14. /*
  15. Logger is required external object to which the interpreter releases its log messages.
  16. */
  17. type Logger interface {
  18. /*
  19. LogError adds a new error log message.
  20. */
  21. LogError(v ...interface{})
  22. /*
  23. LogInfo adds a new info log message.
  24. */
  25. LogInfo(v ...interface{})
  26. /*
  27. LogDebug adds a new debug log message.
  28. */
  29. LogDebug(v ...interface{})
  30. }