I have a few logging functions that I commonly use for different Arduino programs. Since I use them so much, I decided to try to make a custom library for them. Unfortunately, the compiler crashes at the header file with the error:

unknown type name 'String'

I'm a bit confused as to why this is happening because I am including the standard Arduino libraries (which I believe should contain the String class) at the top of my header. Here's the whole thing:

```
#ifndef logging_h
#define logging_h

#include "Arduino.h"

void logEvent(String msg);
void debugOut(String msg);
void errOut(String err);
void document(String parameter, float value);

#endif 

```

I reinstalled the Arduino IDE (1.0.5) so I think I should have the most recent standard library. If anyone has some suggestions I would really appreciate it.