summaryrefslogtreecommitdiffstats
path: root/lib/libUPnP/Neptune/Source/System/Cocoa/NptCocoaConsole.mm
blob: b97e0d5f2cfe990aea5e77de0e8cea5464b2b9bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*****************************************************************
|
|      Neptune - Console Support: Cocoa Implementation
|
|      (c) 2002-2006 Gilles Boccon-Gibod
|      Author: Gilles Boccon-Gibod (bok@bok.net)
|
 ****************************************************************/

/*----------------------------------------------------------------------
|       includes
+---------------------------------------------------------------------*/
#include <stdio.h>
#include <Foundation/Foundation.h>

#include "NptConfig.h"
#include "NptConsole.h"

/*----------------------------------------------------------------------
|       NPT_Console::Output
+---------------------------------------------------------------------*/
void
NPT_Console::Output(const char* message)
{
    NSLog(@"%@", [@(message) stringByTrimmingCharactersInSet:[NSCharacterSet newlineCharacterSet]]);
}