Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Enumerations
message_handler.h File Reference
#include <cstdarg>
#include "pagespeed/kernel/base/printf_format.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/base/string_util.h"

Go to the source code of this file.

Classes

class  net_instaweb::MessageHandler
 

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 

Macros

#define PS_LOG_INFO(handler,...)   (handler)->Info(__FILE__, __LINE__, __VA_ARGS__)
 Macros for logging messages.
 
#define PS_LOG_WARN(handler,...)   (handler)->Warning(__FILE__, __LINE__, __VA_ARGS__)
 
#define PS_LOG_ERROR(handler,...)   (handler)->Error(__FILE__, __LINE__, __VA_ARGS__)
 
#define PS_LOG_FATAL(handler,...)   (handler)->FatalError(__FILE__, __LINE__, __VA_ARGS__)
 
#define PS_LOG_DFATAL(handler,...)   PS_LOG_FATAL(handler, __VA_ARGS__)
 NDEBUG.
 
#define PS_DLOG_INFO(handler,...)   PS_LOG_INFO(handler, __VA_ARGS__)
 
#define PS_DLOG_WARN(handler,...)   PS_LOG_WARN(handler, __VA_ARGS__)
 
#define PS_DLOG_ERROR(handler,...)   PS_LOG_ERROR(handler, __VA_ARGS__)
 NDEBUG.
 

Enumerations

enum  MessageType { kInfo, kWarning, kError, kFatal }
 

Macro Definition Documentation

#define PS_DLOG_INFO (   handler,
  ... 
)    PS_LOG_INFO(handler, __VA_ARGS__)

Macros for logging debugging messages. They expand to no-ops in opt-mode builds.