my_loglevel.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License, version 2.0,
  5. as published by the Free Software Foundation.
  6. This program is also distributed with certain software (including
  7. but not limited to OpenSSL) that is licensed under separate terms,
  8. as designated in a particular file or component or in included license
  9. documentation. The authors of MySQL hereby grant you an additional
  10. permission to link the program and your derivative works with the
  11. separately licensed software that they have included with MySQL.
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. GNU General Public License, version 2.0, for more details.
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
  19. #ifndef MY_LOGLEVEL_H
  20. #define MY_LOGLEVEL_H
  21. /**
  22. @file include/my_loglevel.h
  23. Definition of the global "loglevel" enumeration.
  24. */
  25. enum loglevel {
  26. SYSTEM_LEVEL = 0,
  27. ERROR_LEVEL = 1,
  28. WARNING_LEVEL = 2,
  29. INFORMATION_LEVEL = 3
  30. };
  31. #endif // MY_LOGLEVEL_H