// // ObjectiveC - shows that plog can be used in ObjectiveC++. // #include #include #include @interface Greeter : Object { int dummy; } +(void) greet; @end @implementation Greeter +(void) greet { PLOGD << "Hello ObjC++!"; } @end int main() { plog::init(plog::debug, "ObjectiveC.csv"); // Initialize the logger. PLOGD << "Hello ObjC++!"; [Greeter greet]; return 0; }