1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
10 | ruby language support (C) Novell Inc. |
11 \----------------------------------------------------------------------/
13 Author: Duncan Mac-Vicar <dmacvicar@suse.de>
15 This program is free software; you can redistribute it and/or
16 modify it under the terms of the GNU General Public License
17 as published by the Free Software Foundation; either version
18 2 of the License, or (at your option) any later version.
25 #include "ycp/y2log.h"
28 * @short A class to provide logging for Ruby bindings errors and warning
30 class RubyLogger : public Logger
32 static RubyLogger* m_rubylogger;
35 void error (string message);
36 void warning (string message);
38 static RubyLogger* instance ();
41 #endif // ifndef RubyLogger_h