Permalink
Commits on Mar 4, 2011
  1. added debianization

    ge0rg committed Mar 4, 2011
Commits on Mar 1, 2011
  1. fix compile error issue on ProgramMemory feature

    The ProgramMemoryString feature does not compile for windows platforms.
    Thus, it is disabled for the windows platform by redefining the
    preprocessor macro in a way the API is identical but without causing the
    error.
    Michael Schulze committed Mar 1, 2011
Commits on Jul 23, 2010
  1. adds support for runtime switching of levels

    Until now runtime switching of levels was not supported in a general and
    easy way. Now the level may be set with a method call which result is
    feed to log::emit().
    Michael Schulze committed Jul 23, 2010
Commits on Jun 30, 2010
  1. puts LoggerLevel strings also in program memory

    Michael Schulze committed Jun 30, 2010
Commits on Jun 23, 2010
  1. adds output operator for const void*

    Michael Schulze committed Jun 23, 2010
Commits on Jun 21, 2010
  1. rework on PROGMEMSTRING feature

    On those systems not needing such a feature, the macro substitutes to
    the string constant, only. Nevertheless, the ProgmemString is usable  as
    well on such systems. Furthermore, some glitches with not well behaving
    compilers are workaround. One thing is the placement of the logging
    strings within special section beginning with ".progmem.logging-cpp.".
    This allows selective removing of messages through the linker by garbage
    collecting unused sections. Doing not so, leading to have all log
    messages in one section. Disabling some levels would work, but despite
    this the messages of disabled level would be part of the executable, but
    this needs to be avoided.
    Michael Schulze committed Jun 21, 2010
Commits on Jun 10, 2010
  1. fixes problem with program memory string

    The program memory string feature works not correctly on AVRs if a
    compiler newer than 4.2 is used. Those compilers have a bug within the
    attribute progmem interpretation as well as the prog_char typedef. With
    the new implemented scheme it works with the newer compiler versions,
    too. Furthermore, the program memory string is usable on all systems as
    type, and its behavior is that of a pointer to character array, allowing
    dereferencing, pointer arithmetic, and indexing.
    Michael Schulze committed Jun 10, 2010
  2. simplify string output methode

    Michael Schulze committed Jun 10, 2010
Commits on Jun 8, 2010
  1. optimize resource usage

    replaces the modulo operator with its equivalent mathematical
    representation
    Michael Schulze committed Jun 8, 2010
Commits on Jun 3, 2010
  1. corrects some documentation issues

    Michael Schulze committed Jun 3, 2010
  2. adds ProgramMemoryString.h to general includes

    Michael Schulze committed Jun 3, 2010
  3. adds the new PROGMEMSTRING feature

    A PROGMEMSTRING enables the placement of string constants in the text segment,
    allowing the reduction of needed RAM on some processor architectures like the
    AVRs.
    
    Especially in the embedded field the RAM is often a constrained ressource.
    Enabling the placement of constant strings in e.g. the FLASH memory allows
    reducing the needed RAM. For the AVR platform, the logging framework supports
    such a feature by using the PROGMEMSTRING macro. This macro places the string
    constant in the none volatile memory, creates a temporarly variable that
    abstracts the access to the given string, and is used by the logging framework.
    On architecture without the need for such a feature, or on those not yet
    supported, the macro substituation results in the string constant. Thus, the
    PROGMEMSTRING macro can be used always.
    Michael Schulze committed Jun 3, 2010
  4. BUGFIX: using the correct cast

    Michael Schulze committed Jun 3, 2010
  5. rename project name to the correct one

    Michael Schulze committed Jun 3, 2010
Commits on Jan 26, 2010
  1. fix configuration error on AVR

    Michael Schulze committed Jan 26, 2010
Commits on Jan 14, 2010
  1. add test example that was used in the article

    Michael Schulze committed Jan 14, 2010
  2. fix bug in POSIX-Colorizer extensions

    Michael Schulze committed Jan 14, 2010
  3. remove unneeded file

    Michael Schulze committed Jan 14, 2010
Commits on Jan 12, 2010
  1. fix wrong level setting bug in log::emit() function

    Michael Schulze committed Jan 12, 2010
Commits on Jan 11, 2010
  1. initial commit of the logging framework

    Michael Schulze committed Jan 11, 2010