~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/logging.cc

  • Committer: Brian Aker
  • Date: 2011-01-12 06:45:23 UTC
  • mto: (2073.1.4 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: brian@tangent.org-20110112064523-rqhptaqbph22qmj1
Remove custom error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include <config.h>
21
 
#include <drizzled/plugin/logging.h>
22
 
#include <drizzled/gettext.h>
23
 
#include <drizzled/errmsg_print.h>
 
20
#include "config.h"
 
21
#include "drizzled/plugin/logging.h"
 
22
#include "drizzled/gettext.h"
 
23
#include "drizzled/errmsg_print.h"
24
24
 
25
25
#include <vector>
26
26
#include <algorithm>
61
61
    {
62
62
      /* TRANSLATORS: The leading word "logging" is the name
63
63
         of the plugin api, and so should not be translated. */
64
 
      errmsg_printf(error::ERROR,
 
64
      errmsg_printf(ERRMSG_LVL_ERROR,
65
65
                    _("logging '%s' pre() failed"),
66
66
                    handler->getName().c_str());
67
67
      return true;
86
86
    {
87
87
      /* TRANSLATORS: The leading word "logging" is the name
88
88
         of the plugin api, and so should not be translated. */
89
 
      errmsg_printf(error::ERROR,
 
89
      errmsg_printf(ERRMSG_LVL_ERROR,
90
90
                    _("logging '%s' post() failed"),
91
91
                    handler->getName().c_str());
92
92
      return true;
110
110
    {
111
111
      /* TRANSLATORS: The leading word "logging" is the name
112
112
         of the plugin api, and so should not be translated. */
113
 
      errmsg_printf(error::ERROR,
 
113
      errmsg_printf(ERRMSG_LVL_ERROR,
114
114
                    _("logging '%s' postEnd() failed"),
115
115
                    handler->getName().c_str());
116
116
      return true;
133
133
    {
134
134
      /* TRANSLATORS: The leading word "logging" is the name
135
135
         of the plugin api, and so should not be translated. */
136
 
      errmsg_printf(error::ERROR,
 
136
      errmsg_printf(ERRMSG_LVL_ERROR,
137
137
                    _("logging '%s' resetCurrentScoreboard() failed"),
138
138
                    handler->getName().c_str());
139
139
      return true;