Commit Graph

27 Commits

Author SHA1 Message Date
Lioncash
7660adeffd retroarch_logger: Fix linux build 2014-09-13 20:22:16 -04:00
Lioncash
3912b3fee4 retroarch_logger: Append the calling function name to the log message.
Makes tracing back a little easier.
2014-09-13 20:02:53 -04:00
Lioncash
7ccc71bb59 retroarch_logger: Include header stdio.h
Prior to this, if this file was included in a source file, but stdio was not, then a compile error would result, as the log calls internally print to stderr, which is defined within stdio.h
2014-09-11 22:22:42 -04:00
twinaphex
6f32841647 Rename g_extern.verbose to g_extern.verbosity to avoid
collisions on OSX
2014-07-18 00:39:31 +02:00
twinaphex
1dd34b41b1 Split up Android logging code to separate header file 2014-06-01 15:53:48 +02:00
twinaphex
59bc2db2c8 Split up Salamander loggging code to separate header file 2014-06-01 15:47:23 +02:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
Themaister
3f8c892a0b Use logging interface in libretro-test.
Fix RETRO_LOG_OUTPUT to always log.
2013-12-09 10:59:17 +01:00
Themaister
e3295e87cd Initial RETRO_ENVIRONMENT_GET_LOG_INTERFACE. 2013-12-09 10:32:12 +01:00
twinaphex
43563f7ef4 (Logger) Some changes 2013-11-27 23:36:46 +01:00
twinaphex
ab735cb307 Build fix - retroarch_logger.h 2013-11-26 12:13:02 +01:00
twinaphex
3c2d6ddbcd (Logger) Move logger override headers to common logger directory 2013-11-26 11:56:07 +01:00
twinaphex
97cec15dcd (iOS) Will now log to XCode organizer device console 2013-11-25 15:12:59 +01:00
twinaphex
d464d7ae4a retroarch_logger.h - define RARCH_INTERNAL 2013-11-19 03:20:59 +01:00
twinaphex
cf20416aab Make file_path.c more self-contained.h 2013-11-06 14:21:12 +01:00
Themaister
7df4500024 Use native side asset extraction. 2013-10-14 21:08:41 +02:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
ae089a7b58 (Android) Make logging optional 2012-12-16 04:13:31 +01:00
twinaphex
5eebaedd18 (Salamander) Push quick fix for Salamander 2012-11-27 22:58:03 +01:00
Themaister
2c41fe7288 Move log_fp to g_extern.
Rework logger macros to use g_extern.log_file is it's non NULL.
Otherwise, fallback to stderr.
2012-11-26 16:59:00 +01:00
twinaphex
e1ea973e58 Promote HAVE_FILE_LOGGER for all platforms 2012-11-26 02:46:40 +01:00
Themaister
c6b50d2645 Add CPU feature detection for X86. 2012-11-01 22:31:24 +01:00
twinaphex
608d3718a3 (Android) Android does not redirect stderr to the logger - so we
need to wrap all stderr fprintfs - this will help for Xbox 1 too
which also doesn't redirect stderr
2012-10-16 13:57:35 +02:00
Twinaphex
8fcb79e86c (Android) Add logging 2012-09-10 01:11:49 +02:00
Themaister
db0501fa50 Do not log unless g_extern.verbose is set. 2012-08-16 10:52:28 +02:00
Twinaphex
5da0354257 Make logging defines reusable by Salamander without having to
include general.h (full of dependencies which can't be met for
standalone app)
2012-07-28 17:32:30 +02:00