Skip to content

Commit

Permalink
add alternate method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Apr 10, 2024
1 parent b4e1b95 commit b08a821
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/ortus/boxlang/runtime/interceptors/Logging.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,13 @@ public void onRuntimeShutdown() {
appendersMap.keySet().stream().forEach( key -> ( ( FileAppender<ILoggingEvent> ) appendersMap.get( key ) ).stop() );
}

/**
* Alternate signature
*
* @param args
*/
public void onRuntimeShutdown( IStruct args ) {
onRuntimeShutdown();
}

}

0 comments on commit b08a821

Please sign in to comment.