Commit Graph

42 Commits

Author SHA1 Message Date
twinaphex e20243613e Add extern "C" declarations 2015-06-28 02:00:44 +02:00
twinaphex 35d877fdf2 (retroarch_logger.h) Buildfix 2015-06-27 20:39:23 +02:00
Twinaphex 0b7ec85edb (retroarch_logger.h) Buildfix 2015-06-27 20:35:39 +02:00
twinaphex 8fbe890e33 (Xbox1/iPhone) Add RARCH_LOG_VERBOSE conditionals to RARCH_LOG and RARCH_LOG_V 2015-06-27 20:32:45 +02:00
twinaphex 4c6d0d5e0e (retroarch_logger.h) Cleanup 2015-06-27 20:31:06 +02:00
twinaphex 6f4a3c4d57 (Xbox) Simplify RARCH_LOG_V implementation somewhat 2015-06-27 20:25:56 +02:00
twinaphex a0958eaa7c (retroarch_logger.h) Merge Xbox and iPhone logging 2015-06-27 20:20:29 +02:00
twinaphex b04d1f43f9 Combine logger headers 2015-06-27 16:14:54 +02:00
Higor Eurípedes beb383ff45 (retroarch_logger.c) Add extern "C" to forward declaration 2015-06-12 13:36:22 -03:00
Higor Eurípedes ecede41cb2 (retroarch.c) Add --log-file and --version 2015-06-12 13:36:21 -03:00
twinaphex 4740c3cea8 (XDK1) Use logger overrides not only for RARCH_INTERNAL 2015-03-30 02:28:11 +02:00
twinaphex 75b035026f Split off logger code to separate file 2015-03-21 06:31:58 +01:00
twinaphex dc45cafa32 Create rarch_main_verbosity and rarch_main_log_file 2015-03-21 06:02:00 +01:00
twinaphex ca498675e7 Simplify retroarch_logger.h 2015-01-11 16:16:26 +01:00
twinaphex 453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
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