-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Administrator
committed
Sep 30, 2010
1 parent
a2a3a60
commit 926c044
Showing
3 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
/* | ||
* Copyright Andrey Semashev 2007 - 2010. | ||
* Distributed under the Boost Software License, Version 1.0. | ||
* (See accompanying file LICENSE_1_0.txt or copy at | ||
* http://www.boost.org/LICENSE_1_0.txt) | ||
* | ||
* This file is the Boost.Log library implementation, see the library documentation | ||
* at http://www.boost.org/libs/log/doc/log.html. | ||
*/ | ||
|
||
/* -------------------------------------------------------- | ||
* HEADER SECTION | ||
*/ | ||
|
||
|
||
|
||
/* ------------------------------------------------------------------ | ||
* MESSAGE DEFINITION SECTION | ||
*/ | ||
// | ||
// Values are 32 bit values laid out as follows: | ||
// | ||
// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 | ||
// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 | ||
// +---+-+-+-----------------------+-------------------------------+ | ||
// |Sev|C|R| Facility | Code | | ||
// +---+-+-+-----------------------+-------------------------------+ | ||
// | ||
// where | ||
// | ||
// Sev - is the severity code | ||
// | ||
// 00 - Success | ||
// 01 - Informational | ||
// 10 - Warning | ||
// 11 - Error | ||
// | ||
// C - is the Customer code flag | ||
// | ||
// R - is a reserved bit | ||
// | ||
// Facility - is the facility code | ||
// | ||
// Code - is the facility's status code | ||
// | ||
// | ||
// Define the facility codes | ||
// | ||
|
||
|
||
// | ||
// Define the severity codes | ||
// | ||
#define BOOST_LOG_SEVERITY_WARNING 0x2 | ||
#define BOOST_LOG_SEVERITY_INFO 0x1 | ||
#define BOOST_LOG_SEVERITY_ERROR 0x3 | ||
#define BOOST_LOG_SEVERITY_DEBUG 0x0 | ||
|
||
|
||
// | ||
// MessageId: BOOST_LOG_MSG_DEBUG | ||
// | ||
// MessageText: | ||
// | ||
// %1 | ||
// | ||
#define BOOST_LOG_MSG_DEBUG ((DWORD)0x00000100L) | ||
|
||
// | ||
// MessageId: BOOST_LOG_MSG_INFO | ||
// | ||
// MessageText: | ||
// | ||
// %1 | ||
// | ||
#define BOOST_LOG_MSG_INFO ((DWORD)0x40000101L) | ||
|
||
// | ||
// MessageId: BOOST_LOG_MSG_WARNING | ||
// | ||
// MessageText: | ||
// | ||
// %1 | ||
// | ||
#define BOOST_LOG_MSG_WARNING ((DWORD)0x80000102L) | ||
|
||
// | ||
// MessageId: BOOST_LOG_MSG_ERROR | ||
// | ||
// MessageText: | ||
// | ||
// %1 | ||
// | ||
#define BOOST_LOG_MSG_ERROR ((DWORD)0xC0000103L) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
LANGUAGE 0x9,0x1 | ||
1 11 "MSG00001.bin" |