Protected Member Functions

IgnoreFailure Class Reference

Defines a policy to apply when the logger fails, which is, to ignore the failure. More...

#include <keyvalue/sys/logger/policy/IgnoreFailure.h>

List of all members.

Protected Member Functions

bool apply (const Message &message)
 Applies IgnoreFailure policy.

Detailed Description

Defines a policy to apply when the logger fails, which is, to ignore the failure.

WARNING: This is a dangerous policy to apply. Use with caution (or do not use at all).


Member Function Documentation

bool apply ( const Message message  )  [protected]

Applies IgnoreFailure policy.

Returns:
This method returns true to ignore previous failure.