project: override log domains
This way, we can have more useful debug spils.
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define G_LOG_DOMAIN "GcalApplication"
|
||||
|
||||
#include "gcal-application.h"
|
||||
#include "css-code.h"
|
||||
#include "gcal-window.h"
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define G_LOG_DOMAIN "GcalDateChooserDay"
|
||||
|
||||
#include "gcal-date-chooser-day.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define G_LOG_DOMAIN "GcalDateChooser"
|
||||
|
||||
#include "gcal-utils.h"
|
||||
#include "gcal-date-chooser.h"
|
||||
#include "gcal-date-chooser-day.h"
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalDateSelector"
|
||||
|
||||
#include "gcal-date-chooser.h"
|
||||
#include "gcal-date-selector.h"
|
||||
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#define G_LOG_DOMAIN "GcalEditDialog"
|
||||
|
||||
#include "gcal-edit-dialog.h"
|
||||
#include "gcal-time-selector.h"
|
||||
#include "gcal-date-selector.h"
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalEventWidget"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "gcal-event-widget.h"
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalEvent"
|
||||
|
||||
#include "gcal-event.h"
|
||||
#include "gcal-utils.h"
|
||||
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalManager"
|
||||
|
||||
#include "gcal-manager.h"
|
||||
#include "gcal-utils.h"
|
||||
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define G_LOG_DOMAIN "GcalMultiChoice"
|
||||
|
||||
#include "gcal-multi-choice.h"
|
||||
|
||||
struct _GcalMultiChoice
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalQuickAddPopover"
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "gcal-quick-add-popover.h"
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalSearchView"
|
||||
|
||||
#include "gcal-search-view.h"
|
||||
|
||||
#include "gcal-event.h"
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalShellSearchProvider"
|
||||
|
||||
#include "gcal-shell-search-provider.h"
|
||||
#include "gcal-shell-search-provider-generated.h"
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcaçSourceDialog"
|
||||
|
||||
#include "gcal-source-dialog.h"
|
||||
#include "gcal-utils.h"
|
||||
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalSubscriberView"
|
||||
|
||||
#include "gcal-subscriber-view.h"
|
||||
#include "gcal-subscriber-view-private.h"
|
||||
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalTimeSelector"
|
||||
|
||||
#include "gcal-time-selector.h"
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define G_LOG_DOMAIN "Utils"
|
||||
|
||||
#include "gcal-utils.h"
|
||||
#include "gcal-event-widget.h"
|
||||
#include "gcal-view.h"
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalView"
|
||||
|
||||
#include "gcal-view.h"
|
||||
#include "gcal-utils.h"
|
||||
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalWindow"
|
||||
|
||||
#include "gcal-window.h"
|
||||
|
||||
#include "gcal-manager.h"
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define G_LOG_DOMAIN "GcalMonthView"
|
||||
|
||||
#include "gcal-month-view.h"
|
||||
#include "gcal-subscriber-view-private.h"
|
||||
#include "gcal-utils.h"
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalRangeTree"
|
||||
|
||||
#include "gcal-range-tree.h"
|
||||
|
||||
typedef struct _Node
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalWeekGrid"
|
||||
|
||||
#include "gcal-week-grid.h"
|
||||
#include "gcal-week-view.h"
|
||||
#include "gcal-utils.h"
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define G_LOG_DOMAIN "GcalWeekHeader"
|
||||
|
||||
#include "gcal-week-header.h"
|
||||
#include "gcal-week-view.h"
|
||||
#include "gcal-utils.h"
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalWeekView"
|
||||
|
||||
#include "gcal-week-view.h"
|
||||
#include "gcal-utils.h"
|
||||
#include "gcal-view.h"
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define G_LOG_DOMAIN "GcalYearView"
|
||||
|
||||
#include "gcal-year-view.h"
|
||||
#include "gcal-view.h"
|
||||
#include "gcal-utils.h"
|
||||
|
||||
Reference in New Issue
Block a user