#include <ilserver/ilbarch.h>#include <ilserver/boolean.h>#include <ilserver/except.h>#include <ilserver/sstring.h>#include <ilserver/ilm.h>#include <ilserver/iostream.h>#include <ilserver/fstream.h>Classes | |
| class | IlsLogfile |
| This class can be used to display messages to the user. More... | |
| class | IlsOnExitException |
This exception can be thrown by the log file instead of calling exit or abort on a fatal or internal error. More... | |
| class | IlsLogfile::MsgDescription |
Gives access to the characteristics of the messages handled by the class IlsLogfile. More... | |
Enumerations | |
| enum | IlsLogLevel { ILS_LOG_UNSET, ILS_LOG_DEBUG, ILS_LOG_WARNING, ILS_LOG_INFO, ILS_LOG_ERROR, ILS_LOG_FATALERROR, ILS_LOG_INTERNALERROR, ILS_LOG_MSG, ILS_LOG_NOTHING } |
| This enumerated type enumerates the various error types that can be generated by the system. More... | |
| ILSIMPORT IlsLogfile& dec | ( | IlsLogfile & | ) |
| ILSIMPORT IlsLogfile& hex | ( | IlsLogfile & | ) |
| ILSIMPORT IlsLogfile& IlsDebug | ( | IlsLogfile::CategoryId | = 0, |
| IlsLogfile::MessageId | = 0, |
||
| const IlsString & | = IlsString::Null, |
||
| const IlsString & | = IlsLogfile::GetMsgPrefix() |
||
| ) |
| ILSIMPORT void IlsEOM | ( | IlsLogfile & | ) |
Appends a new line to the message and sends the message.
A message that does not end with IlsEOM is never posted.
| ILSIMPORT IlsLogfile& IlsError | ( | IlsLogfile::CategoryId | = 0, |
| IlsLogfile::MessageId | = 0, |
||
| const IlsString & | = IlsString::Null, |
||
| const IlsString & | = IlsLogfile::GetMsgPrefix() |
||
| ) |
| ILSIMPORT IlsLogfile& IlsFatalError | ( | IlsLogfile::CategoryId | = 0, |
| IlsLogfile::MessageId | = 0, |
||
| const IlsString & | = IlsString::Null, |
||
| const IlsString & | = IlsLogfile::GetMsgPrefix() |
||
| ) |
A fatal error will call exit after the message has been displayed.
An example of its use is shown below:
| ILSIMPORT IlsLogfile& IlsInfo | ( | IlsLogfile::CategoryId | = 0, |
| IlsLogfile::MessageId | = 0, |
||
| const IlsString & | = IlsString::Null, |
||
| const IlsString & | = IlsLogfile::GetMsgPrefix() |
||
| ) |
| ILSIMPORT IlsLogfile& IlsInternalError | ( | IlsLogfile::CategoryId | = 0, |
| IlsLogfile::MessageId | = 0, |
||
| const IlsString & | = IlsString::Null, |
||
| const IlsString & | = IlsLogfile::GetMsgPrefix() |
||
| ) |
An internal error will call abort after the message has been displayed.
An example of its use is shown below:
| ILSIMPORT IlsLogfile& IlsMsg | ( | IlsLogfile::CategoryId | = 0, |
| IlsLogfile::MessageId | = 0, |
||
| const IlsString & | = IlsString::Null, |
||
| const IlsString & | = IlsLogfile::GetMsgPrefix() |
||
| ) |
| ILSIMPORT IlsLogfile& IlsWarn | ( | IlsLogfile::CategoryId | = 0, |
| IlsLogfile::MessageId | = 0, |
||
| const IlsString & | = IlsString::Null, |
||
| const IlsString & | = IlsLogfile::GetMsgPrefix() |
||
| ) |
| ILSIMPORT IlsLogfile& oct | ( | IlsLogfile & | ) |
| ILSIMPORT IlsLogfile& restore | ( | IlsLogfile & | ) |
© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.