Skip to content

Commit a28cf5c

Browse files
Update for Defold 1.3.5 version
1 parent b908c41 commit a28cf5c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ The extension writes all output data to the console and makes it possible to rec
44

55
## Installation
66

7+
> ⚠️ For Defold version below **1.3.5** use Share Log **1.0.0** version
8+
> https://github.com/potatojam/defold-share-log/archive/refs/tags/1.0.0.zip
9+
710
You can use it in your own project by adding this project as a [Defold library dependency](http://www.defold.com/manuals/libraries/). Open your `game.project` file and in the dependencies field add **a link to the ZIP file of a [specific release](https://github.com/potatojam/defold-share-log/tags).**
811

912
> ⚠️ For some functions, you need to use the [share](https://github.com/britzl/defold-sharing) extension. https://github.com/britzl/defold-sharing

game.project

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ high_dpi = 1
1111

1212
[project]
1313
title = ShareLog
14+
version = 1.0.1
1415
dependencies#0 = https://github.com/andsve/dirtylarry/archive/master.zip
1516
dependencies#1 = https://github.com/britzl/defold-sharing/archive/refs/tags/4.2.0.zip
1617

@@ -21,7 +22,7 @@ include_dirs = sharelog
2122
debuggable = 1
2223

2324
[share_log]
24-
block_release_version = true
25+
block_release_version = false
2526
catch_promise_errors = true
2627
force_html5_init = false
2728

sharelog/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static dmExtension::Result FinalizeShareLog(dmExtension::Params *params)
5151

5252
static std::string string_log;
5353

54-
static void LogListener(dmLog::Severity severity, const char *type, const char *message)
54+
static void LogListener(LogSeverity severity, const char *type, const char *message)
5555
{
5656
// dmLog::LOG_SEVERITY_USER_DEBUG
5757
string_log = string_log + message;

0 commit comments

Comments
 (0)