From e5fc65264bf0d2174bf29f3512d105297a6c739f Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Sat, 29 May 2021 18:28:57 +0200 Subject: Added standardised way to Log with plugin name (#5227) * added logging functions to each plugin * added documentation * modified the global LOG macro * updated the way of string composition * removed cloumn * removed capital v --- Server/Plugins/APIDump/Writing-a-Cuberite-plugin.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Server') diff --git a/Server/Plugins/APIDump/Writing-a-Cuberite-plugin.html b/Server/Plugins/APIDump/Writing-a-Cuberite-plugin.html index 6d53ccaab..8c8008530 100644 --- a/Server/Plugins/APIDump/Writing-a-Cuberite-plugin.html +++ b/Server/Plugins/APIDump/Writing-a-Cuberite-plugin.html @@ -42,12 +42,12 @@ function Initialize(Plugin) -- Command Bindings - LOG("Initialised " .. Plugin:GetName() .. " v." .. Plugin:GetVersion()) + LOG("Initialised version " .. Plugin:GetVersion()) return true end function OnDisable() - LOG(PLUGIN:GetName() .. " is shutting down...") + LOG("Shutting down...") end
@@ -56,7 +56,7 @@ end