From c265b7620460c0045149bfda31398c62f21c5058 Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi Date: Sun, 23 Jul 2023 17:21:31 +0300 Subject: [PATCH] Rename log() to trace(), added success() level explenation and made use description clearer --- Coding-Style.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Coding-Style.md b/Coding-Style.md index 361a160..919d4b3 100644 --- a/Coding-Style.md +++ b/Coding-Style.md @@ -43,9 +43,10 @@ We recommend to follow these guidelines when writing code for RPCS3. They aren't * Use `moduleName.todo()` and other associated methods. * Use `.todo()` method for unimplemented functions. * Use `.error()` method to print error inside of function that may require user's attention. For example, some file is not found or some emulation option is not set correctly. + * Use `.succcess()` method for well-implemeneted, rarely-called but common functions. * Use `.warning()` method for partially implemented functions which still have some unimplemented functionality. * Use `.notice()` method to print debug information unconditionally. - * Use `.log()` method for well implemented functions. + * Use `.trace()` method for well implemented and often-called functions. * Don't return CELL_OK and other error codes if the function result type doesn't mean error code. ***