godot/core
Ruslan Mustakov 1a2311e350 Extract logging logic
Previously logging logic was scattered over OS class implementations
with plenty of duplication. Major changes in this commit:

 - Extracted logging logic into a separate Logger hierarchy. It allows
   easy configuration of logging mechanism depending on compile-time or
   run-time configuration.

 - Implemented RotatedFileLogger which is usually used with StdLogger,
   providing persistency of logs. It is often important to be able to
   obtain logs of the game even in production to be able to understand
   what happened prior to some problem. On mobile there previously was
   no way to obtain the logs aside from having the device connected to
   your machine.

 - flush() is not performed in release mode for every logged line. It
   is only performed for errors.
2017-09-25 16:19:21 +07:00
..
bind Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
helper Fix files header 2017-09-01 21:07:55 +07:00
io Extract logging logic 2017-09-25 16:19:21 +07:00
math Merge pull request #11409 from MarufSarker/PR-core-math-is_nan 2017-09-20 14:29:01 +02:00
os Extract logging logic 2017-09-25 16:19:21 +07:00
allocators.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
array.cpp Fixed a bunch of typos, including an error code. 2017-09-21 23:58:29 -04:00
array.h -Fixed changes to default input actions not working, closes #10502 2017-09-06 18:14:04 -03:00
class_db.cpp Fixes order of default arguments in MethodInfo 2017-09-02 20:43:40 +02:00
class_db.h Removed ParamDef and ParamHint structs 2017-08-29 04:28:17 -04:00
color_names.inc Add missing map.h include in color defs 2017-01-15 12:51:47 +01:00
color.cpp Merge pull request #11208 from kitsune/hex-color-shortcuts 2017-09-19 23:33:25 +02:00
color.h Implement +,-,/, * and negate operators for Color type. 2017-09-16 13:09:49 -04:00
command_queue_mt.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
command_queue_mt.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
compressed_translation.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
compressed_translation.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
core_string_names.cpp Massive optimization to Variant::set_named/get_named. Should give a nice boost to GDScript. 2017-09-23 21:05:35 -03:00
core_string_names.h Massive optimization to Variant::set_named/get_named. Should give a nice boost to GDScript. 2017-09-23 21:05:35 -03:00
dictionary.cpp Dead code tells no tales 2017-08-27 22:13:45 +02:00
dictionary.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
dvector.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
dvector.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
engine.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
engine.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
error_list.h Fixed a bunch of typos, including an error code. 2017-09-21 23:58:29 -04:00
error_macros.cpp Extract logging logic 2017-09-25 16:19:21 +07:00
error_macros.h Implement Linux-style likely()/unlikely() macros 2017-09-21 18:28:28 +02:00
func_ref.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
func_ref.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
global_constants.cpp Fixed a bunch of typos, including an error code. 2017-09-21 23:58:29 -04:00
global_constants.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
hash_map.h added OAHashMap type 2017-09-19 16:48:53 +02:00
hashfuncs.h added OAHashMap type 2017-09-19 16:48:53 +02:00
image.cpp Fixed a bunch of typos, including an error code. 2017-09-21 23:58:29 -04:00
image.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
input_map.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
input_map.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
int_types.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
list.h Provide NativeScript properties in definition order 2017-09-05 12:45:23 +07:00
make_binders.py Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
map.h Remove assignment and declarations in if statements 2017-09-08 14:59:15 +02:00
message_queue.cpp Dead code tells no tales 2017-08-27 22:13:45 +02:00
message_queue.h Dead code tells no tales 2017-08-27 22:13:45 +02:00
method_bind.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
method_bind.h Fix typos 'a' and 'an' 2017-09-02 21:19:06 +07:00
method_ptrcall.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
node_path.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
node_path.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
oa_hash_map.h added OAHashMap type 2017-09-19 16:48:53 +02:00
object.cpp Fixed a bunch of typos, including an error code. 2017-09-21 23:58:29 -04:00
object.h Fixed a bunch of typos, including an error code. 2017-09-21 23:58:29 -04:00
ordered_hash_map.h Fix various assorted warnings 2017-09-08 14:57:48 +02:00
packed_data_container.cpp Fix signed and unsigned comparisons 2017-09-01 08:13:12 +02:00
packed_data_container.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
pair.h Merge pull request #10318 from endragor/ordered-hash-map 2017-09-01 13:09:30 +02:00
path_remap.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
path_remap.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
pool_allocator.cpp Fix signed and unsigned comparisons 2017-09-01 08:13:12 +02:00
pool_allocator.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
print_string.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
print_string.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
project_settings.cpp Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
project_settings.h Fix files header 2017-09-01 21:07:55 +07:00
ref_ptr.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
ref_ptr.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
reference.cpp Construct Variants from Reference properly in GDNative 2017-09-14 19:40:36 +07:00
reference.h Construct Variants from Reference properly in GDNative 2017-09-14 19:40:36 +07:00
register_core_types.cpp added JSON singleton 2017-09-15 15:40:27 +02:00
register_core_types.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
resource.cpp Fixes ERR_EXPLAIN being overwritten 2017-09-06 04:43:07 +02:00
resource.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
rid.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
rid.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
ring_buffer.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
safe_refcount.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
safe_refcount.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
script_debugger_local.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
script_debugger_local.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
script_debugger_remote.cpp Fix unused variable warnings 2017-09-08 15:03:53 +02:00
script_debugger_remote.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
script_language.cpp Fix unused variable warnings 2017-09-08 15:03:53 +02:00
script_language.h Fixes language overridden external editors 2017-09-03 21:23:36 +02:00
SCsub Enable building against system zstd. 2017-09-23 23:46:47 -04:00
self_list.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
set.h Refactor core/set.h 2017-09-12 14:10:35 +01:00
simple_type.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
sort.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
string_buffer.cpp Add StringBuffer class 2017-09-05 11:04:11 +07:00
string_buffer.h Add StringBuffer class 2017-09-05 11:04:11 +07:00
string_builder.cpp added StringBuilder class 2017-09-01 19:52:32 +02:00
string_builder.h added StringBuilder class 2017-09-01 19:52:32 +02:00
string_db.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
string_db.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
translation.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
translation.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
type_info.h Fix warnings comparing enums of different types 2017-09-07 09:03:11 +02:00
typedefs.h Implement Linux-style likely()/unlikely() macros 2017-09-21 18:28:28 +02:00
ucaps.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
undo_redo.cpp Expose more methods for UndoRedo 2017-09-13 12:18:51 +08:00
undo_redo.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
ustring.cpp Fixed a bunch of typos, including an error code. 2017-09-21 23:58:29 -04:00
ustring.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
variant_call.cpp Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
variant_construct_string.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
variant_op.cpp Merge pull request #11549 from hpvb/fix-11543 2017-09-24 20:22:53 +02:00
variant_parser.cpp Optimize memory allocations in VariantParser::get_token 2017-09-05 11:04:33 +07:00
variant_parser.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
variant.cpp Implement Linux-style likely()/unlikely() macros 2017-09-21 18:28:28 +02:00
variant.h Allow booleanization of all types 2017-09-19 18:55:31 +02:00
vector.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
version.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
vmap.h Fix use of unitialized variables 2017-09-02 01:59:26 +02:00
vset.h Fix use of unitialized variables 2017-09-02 01:59:26 +02:00