summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/notificationserver/EventLog.h
blob: fbd5d3343bd4ea50597ca1ee1582f7295e856750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef NotificationServer_EventLog_h__
#define NotificationServer_EventLog_h__

#include "mozilla/WindowsEventLog.h"

#define LOG_ERROR_MESSAGE(format, ...) \
  MOZ_WIN_EVENT_LOG_ERROR_MESSAGE(     \
      L"" MOZ_APP_DISPLAYNAME " Notification Server", format, __VA_ARGS__)

#endif  // NotificationServer_EventLog_h__